public DashBoardController() { service = new CustomerService(); bidsService = new BidsService(); dbContext = new MyDealDbContext(); _email = new EmailSending(); }
public PageService() { _repository = new GenericRepository <Page>(); _dbcontext = new MyDealDbContext(); }
public AdminAuthenticationController() { db = new MyDealDbContext(); }
public ShopController() { service = new ShopService(); db = new MyDealDbContext(); }
public GenericRepository() { dbContext = new MyDealDbContext(); entities = dbContext.Set <TEntity>(); }
public CustomerService() { repository = new GenericRepository <Customer>(); dbcontext = new MyDealDbContext(); email = new EmailSending(); }
public ProductController() { service = new ProductService(); dbContext = new MyDealDbContext(); }
public BidsController() { service = new BidsService(); cmdservice = new CommentService(); db = new MyDealDbContext(); }