public async Task <ActionResult> Delete(string id) { Dish dish = await DishService.GetDishByIdAsync(id); if (dish == null) { return(NotFound()); } await DishService.DeleteDishByIdAsync(id); return(Ok(dish)); }