Exemplo n.º 1
0
 public ActionResult DeleteRecord(int id)
 {
     try
     {
         _recordService.DeleteRecord(id);
         return(Ok());
     }
     catch (Exception e)
     {
         return(BadRequest(e.Message));
     }
 }