public async Task <List <Call> > GetClosedCallsByDepartmentAsync(int departmentId) { var calls = await _callsRepository.GetAllClosedCallsByDepartmentAsync(departmentId); return(calls.ToList()); }
public async Task <List <Call> > GetClosedCallsByDepartmentAsync(int departmentId) { var calls = await _callsRepository.GetAllClosedCallsByDepartmentAsync(departmentId); return(calls.ToList()); }