Пример #1
0
 public async Task <IActionResult> GetRecommendations([FromBody] Recom recom)
 {
     try
     {
         return(Ok(await _repo.GetRecommendationsAsync(recom)));
     }
     catch (Exception e)
     {
         return(StatusCode(500, e));
     }
 }