public IActionResult Get() { var unitTypes = _unitTypeService .GetAll() .ToApiModels(); return(Ok(unitTypes)); }
public List <UnitType> GetAllUnitType() { return(_UnitTypeService.GetAll()); }