/// <summary> /// Ctor /// </summary> /// <param name="WebUrl"></param> public RepositoryAsync(Uri WebUrl) { //this.context = context ?? throw new ArgumentNullException(nameof(context)); //dataSet = context.Set<TEntity>(); _dataServiceAsync = new DataServiceAsync(WebUrl); }
public LinkRepositoryAsync(IDataServiceAsync dataService, ILifetimeScope lifetimeScope) { _dataService = dataService; _autofac = lifetimeScope; }