Esempio n. 1
0
 public void Delete(int id)
 {
     _service.DeleteDrink(id);
 }
Esempio n. 2
0
        public async Task <IActionResult> DeleteDrink(int id)
        {
            var result = await _drinkService.DeleteDrink(id);

            return(new OkObjectResult(ApiResponse.Delete(result)));
        }