public async Task <IActionResult> UpdateDrink(DrinkDTO model) { if (string.IsNullOrEmpty(model.Id)) { return(BadRequest()); } var result = matrixService.UpdateDrink(model); if (!result) { return(Conflict()); } return(Ok(result)); }