public async Task <IActionResult> AddRating(ActionApiModel model) { var count = await _blogService.AddRating(model.BlogId, model.Rating, model.User); return(Ok(count)); }