Exemplo n.º 1
0
 public BaseResponse DeleteDrinks(List <Guid> ids)
 {
     dataLayer.Delete <DrinkSelection>(SqlHelpers.DrinkIdFieldName, ids.Select(id => (object)id).ToList());
     dataLayer.Delete <Drink>(SqlHelpers.IdFieldName, ids.Select(id => (object)id).ToList());
     return(new BaseResponse(ResultCodeEnum.Success));
 }