예제 #1
0
        public IActionResult Get()
        {
            var unitTypes = _unitTypeService
                            .GetAll()
                            .ToApiModels();

            return(Ok(unitTypes));
        }
예제 #2
0
 public List <UnitType> GetAllUnitType()
 {
     return(_UnitTypeService.GetAll());
 }