public async Task <List <Unit> > GetAllUnitsForTypeAsync(int departmentId, string type) { var units = await _unitsRepository.GetAllUnitsForTypeAsync(departmentId, type); return(units.ToList()); }
public async Task <List <Unit> > GetAllUnitsForTypeAsync(int departmentId, string type) { var units = await _unitsRepository.GetAllUnitsForTypeAsync(departmentId, type); return(units.ToList()); }