This commit is contained in:
Paul Schneider 2017-03-05 21:57:31 +01:00
commit fa83cc04ae
4 changed files with 0 additions and 17 deletions

View file

@ -137,9 +137,5 @@ namespace Yavsc.Models.Haircut
public decimal FlatFeeDiscount { get; set; }
public bool ExistsInDb(object dbContext)
{
return ((ApplicationDbContext)dbContext).BrusherProfile.Any(p=>p.UserId==UserId);
}
}
}