Пример #1
0
 public IHttpActionResult GetByStore(int id)
 {
     try
     {
         return(Ok(_business.GetByStore(id)));
     }
     catch
     {
         return(BadRequest());
     }
 }