Пример #1
0
 public IHttpActionResult GetAll()
 {
     try
     {
         var q = EmployeeBll.GetAllEmployees();
         return(Ok(q));
     }
     catch (Exception e)
     {
         return(BadRequest(e.Message));
     }
 }