public async Task <IEnumerable <GetUnitOfMeasureDto> > GetUnitOfMeasuresAsync() { var unitOfMeasures = await _unitOfMeasure.GetUnitOfMeasuresAsync(); return(_mapper.Map <IEnumerable <GetUnitOfMeasureDto> >(unitOfMeasures.OrderBy(d => d.Code))); }