예제 #1
0
        public async Task <List <Unit> > GetAllUnitsForTypeAsync(int departmentId, string type)
        {
            var units = await _unitsRepository.GetAllUnitsForTypeAsync(departmentId, type);

            return(units.ToList());
        }