Exemplo n.º 1
0
 public ActionResult <IEnumerable <Member> > GetAll()
 {
     try
     {
         return(Ok(_ms.GetAll()));
     }
     catch (Exception e)
     {
         return(BadRequest(e.Message));
     }
 }