Exemplo n.º 1
0
        public async Task <IActionResult> UpdateDrink(int id, [FromBody] DrinkForUpdateDto dr)
        {
            var result = await _drinkService.Update(id, dr);

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