public IActionResult GetAllEmployees() { try { var employees = _employeeProvider.GetAllEmployeesAsync(); return(Ok(employees)); } catch (Exception) { return(StatusCode(500)); } }