public async Task <UnitOfMeasureBackendDTO> CreateAndSaveUnitOfMeasure(string unitOfMeasureDesc) { var uom = UnitOfMeasure.Create(unitOfMeasureDesc); await _repository.SaveUnitOfMeasureAsync(uom); return(new UnitOfMeasureBackendDTO() { Id = uom.Id, UnitOfMeasureDesc = uom.UnitOfMeasureDesc }); }