Пример #1
0
 public void AddOrUpdate(DomDbModel model)
 {
     repo.AddOrUpdate(model);
 }
Пример #2
0
 public async Task AddOrUpdate(DomDbModel model)
 {
     ServiceEventSource.Current.ServiceMessage(_context, "DomService - AddOrUpdate");
     await Task.Factory.StartNew(() => { _repo.AddOrUpdate(model); });
 }