Example #1
0
 public bool Exists(int id)
 {
     return(RepositoryDbSet.Any(e => e.PersonId == id));
 }
 public bool Exists(int id)
 {
     return(RepositoryDbSet.Any(e => e.RestaurantId == id));
 }
 public bool Exists(int menuId)
 {
     return(RepositoryDbSet.Any(e => e.MenuId == menuId));
 }
Example #4
0
 public bool Exists(int id)
 {
     return(RepositoryDbSet.Any(e => e.RatingLogId == id));
 }
 public bool Exists(int id)
 {
     return(RepositoryDbSet.Any(e => e.IngredientId == id));
 }