en preparant le badge "activité à configurer!"
This commit is contained in:
parent
a4d8aebb61
commit
cc59db24b0
16 changed files with 78 additions and 20 deletions
|
|
@ -1,5 +1,6 @@
|
|||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.Linq;
|
||||
using YavscLib;
|
||||
|
||||
namespace Yavsc.Models.Musical.Profiles
|
||||
|
|
@ -12,5 +13,10 @@ namespace Yavsc.Models.Musical.Profiles
|
|||
{
|
||||
get; set;
|
||||
}
|
||||
|
||||
public bool ExistsInDb(object dbContext)
|
||||
{
|
||||
return ((ApplicationDbContext)dbContext).GeneralSettings.Any(p=>p.UserId==UserId);
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue