private async Task <GenderViewModel> GetGenderAsync(string genderId)
 {
     /*var result =*/ return(_mapper.Map <GenderViewModel>(await _genderRepository.FindAsync(genderId)));
     //return await _maskIds.EncodeGenderId(result);
 }
 private async Task <CurrencyViewModel> GetCurrencyAsync(string currencyId)
 {
     /*var result = */
     return(_mapper.Map <CurrencyViewModel>(await _currencyRepository.FindAsync(currencyId)));
     //return await _maskIds.EncodeCurrencyId(result);
 }
Пример #3
0
 private async Task <CountryViewModel> GetCountryAsync(string countryId)
 {
     return(_mapper.Map <CountryViewModel>(await _countryRepository.FindAsync(countryId)));
 }
 private async Task <CountryViewModel> GetCountryAsync(string countryId)
 {
     /*var result =*/
     return(_mapper.Map <CountryViewModel>(await _countryRepository.FindAsync(countryId)));
     //return await _maskIds.EncodeCountryId(result);
 }
Пример #5
0
 private async Task <GenderViewModel> GetGenderAsync(string genderId)
 {
     return(_mapper.Map <GenderViewModel>(await _genderRepository.FindAsync(genderId)));
 }