示例#1
0
 public ActionResult <IEnumerable <Company> > Get()
 {
     try
     {
         return(Ok(_cs.Get()));
     }
     catch (System.Exception e)
     {
         return(BadRequest(e.Message));
     }
 }