public BaseEFService( TechnoshopContext dbContext, IMapper mapper) { this.DbContext = dbContext; this.Mapper = mapper; }
public AdminHomeService(TechnoshopContext dbContext, IMapper mapper) : base(dbContext, mapper) { }
public ModeratorCategoryService(TechnoshopContext dbContext, IMapper mapper) : base(dbContext, mapper) { }
public BuyerOrdersService(TechnoshopContext dbContext, IMapper mapper, UserManager <User> userManager) : base(dbContext, mapper) { this.userManager = userManager; }
public ModeratorProductsService(TechnoshopContext dbContext, IMapper mapper, UserManager <User> userManager) : base(dbContext, mapper) { this.userManager = userManager; }
public void InitializeTests() { this.dbContext = MockDbContext.GetContext(); this.service = new AdminProductService(this.dbContext, MockAutoMapper.GetMapper()); }
public BuyerProductsService(TechnoshopContext dbContext, IMapper mapper) : base(dbContext, mapper) { }
public AdminUserService(TechnoshopContext dbContext, IMapper mapper, UserManager <User> userManager) : base(dbContext, mapper) { this.userManager = userManager; }
public void InitializeTests() { this.dbContext = MockDbContext.GetContext(); this.service = new ModeratorCategoryService(dbContext, MockAutoMapper.GetMapper()); }
public AdminCategoryService(TechnoshopContext dbContext, IMapper mapper) : base(dbContext, mapper) { }