Example #1
0
 public Repository(DbContext.DbContext dbContext, IMapper mapper)
 {
     context = dbContext ??
               throw new ArgumentNullException(nameof(dbContext));
     _mapper = mapper ??
               throw new ArgumentNullException(nameof(mapper));
 }
Example #2
0
 public UserRepository(DbContext.DbContext connectionString) : base(connectionString)
 {
 }
Example #3
0
 public BaseRepository(DbContext.DbContext context)
 {
     this.DataContext   = context;
     this.disposedValue = false;
 }