public ServiceResponse <EmployeeTerritory> GetEmployeeWithTerritories() { var response = new ServiceResponse <EmployeeTerritory>(HttpContext); response.List = _employeesService.GetEmployeeTerritory("", 0, 10).List.ToList(); response.IsSuccessful = true; response.Count = response.List.Count; return(response); }