public async Task <ActionResult> UpdateAsync(FavoritesShortDto favorites) { if (ModelState.IsValid) { await _favoritesService.UpdateAsync(favorites); return(Ok(favorites)); } return(BadRequest(ModelState)); }