public void AddOrUpdate(DomDbModel model) { repo.AddOrUpdate(model); }
public async Task AddOrUpdate(DomDbModel model) { ServiceEventSource.Current.ServiceMessage(_context, "DomService - AddOrUpdate"); await Task.Factory.StartNew(() => { _repo.AddOrUpdate(model); }); }