コード例 #1
0
ファイル: LocationsService.cs プロジェクト: rtpHarry/OShop
 public void DeleteCountry(LocationsCountryRecord record)
 {
     _countryRepository.Delete(record);
 }
コード例 #2
0
ファイル: LocationsService.cs プロジェクト: rtpHarry/OShop
 public void UpdateCountry(LocationsCountryRecord record)
 {
     _countryRepository.Update(record);
 }
コード例 #3
0
ファイル: LocationsService.cs プロジェクト: rtpHarry/OShop
 public void AddCountry(LocationsCountryRecord record)
 {
     _countryRepository.Create(record);
 }
コード例 #4
0
ファイル: LocationsService.cs プロジェクト: rtpHarry/OShop
 public void SetDefaulCountry(LocationsCountryRecord record)
 {
     if (record != null) {
         SetDefaulCountryId(record.Id);
     }
 }