Esempio n. 1
0
 public IActionResult Delete(string id, string title)
 {
     try
     {
         return(Ok(_service.DeleteRecommend(id, title)));
     }
     catch (RecommendNotFound ex)
     {
         return(Conflict(ex.Message));
     }
 }
Esempio n. 2
0
 public bool DeleteRecommend(string id)
 {
     return(_recommendService.DeleteRecommend(id));
 }