Example #1
0
 public IActionResult GetById(string title)
 {
     try
     {
         return(Ok(_service.GetRecommendsTitle(title)));
     }
     catch (RecommendNotFound ex)
     {
         return(Conflict(ex.Message));
     }
 }