public Task RemoveAsync <TFood>(TFood food)
     where TFood : Food
 {
     return(Task.FromResult(_dbContext
                            .Remove(food)));
 }
 public Task RemoveAsync(FriendshipRequest friendshipRequest)
 {
     return(Task.FromResult(_dbContext
                            .Remove(friendshipRequest)));
 }
Exemple #3
0
 public Task RemoveAsync(Profile profile)
 {
     return(Task.FromResult(_dbContext
                            .Remove(profile)));
 }
 public virtual Task RemoveAsync(TEntity entity)
 {
     return(Task.FromResult(_dbContext
                            .Remove(entity)));
 }
 public Task RemoveAsync <TFoodTable>(TFoodTable foodTable)
     where TFoodTable : FoodTable
 {
     return(Task.FromResult(_dbContext
                            .Remove(foodTable)));
 }
 public Task RemoveAsync <TMeasureCategory>(TMeasureCategory measureCategory)
     where TMeasureCategory : MeasureCategory
 {
     return(Task.FromResult(_dbContext
                            .Remove(measureCategory)));
 }