コード例 #1
0
 public ActionResult getAll()
 {
     try
     {
         List <Stores> stores = _storesService.GetAll().ToList();
         return(Ok(stores));
     }
     catch (Exception e)
     {
         return(BadRequest(e.Message));
     }
 }