Beispiel #1
0
 public async Task MarkOrderAsOrdered(Guid id)
 {
     await _storedProceduresExecutor.ExecuteNonQuery(StoredProceduresNames.MakeOrderAsOrdered, new List <SqlParameter>
     {
         new SqlParameter("@orderId", id)
     });
 }
Beispiel #2
0
 public async Task RemoveMeal(Guid id)
 {
     await _storedProceduresExecutor.ExecuteNonQuery(StoredProceduresNames.RemoveMeal, new List <SqlParameter>
     {
         new SqlParameter("@mealId", id)
     });
 }
Beispiel #3
0
 public async Task RemoveRestaurant(Guid id)
 {
     await _storedProceduresExecutor.ExecuteNonQuery(StoredProceduresNames.RemoveRestaurant,
                                                     new List <SqlParameter>
     {
         new SqlParameter("@restaurantId", id)
     });
 }