public void InitializeTests() { this.dbContext = MockDbContext.GetDbContext(); var mapper = MockAutoMapper.GetMapper(); this.service = new AdminVideosService(dbContext, mapper); }
public IndexModel(MagicOfSewingDbContext dbContext, IMapper mapper) : base(dbContext) { this.mapper = mapper; this.Fabrics = new List <FabricConciseViewModel>(); this.Models = new PaginatedList <FabricConciseViewModel>(new List <FabricConciseViewModel>(), 1, 1); }
public DetailsModel(MagicOfSewingDbContext dbContext, IMapper mapper, UserManager <User> userManager, IAdminPostsService postsService) : base(dbContext) { this.mapper = mapper; this.userManager = userManager; this.postsService = postsService; }
public UsersService(MagicOfSewingDbContext dbContext, IMapper mapper, UserManager <User> userManager) : base(dbContext, mapper) { this.userManager = userManager; }
public ContactsModel(MagicOfSewingDbContext dbContext) : base(dbContext) { }
public BasePage(MagicOfSewingDbContext dbContext) { this.DbContext = dbContext; }
public ArticlesService(MagicOfSewingDbContext dbContext, IMapper mapper) : base(dbContext, mapper) { }
public AdminMessagesServices(MagicOfSewingDbContext dbContext, IMapper mapper) : base(dbContext, mapper) { }
public AdminStrategiesService(MagicOfSewingDbContext dbContext, IMapper mapper) : base(dbContext, mapper) { }
public AdminPostsService(MagicOfSewingDbContext dbContext, IMapper mapper) : base(dbContext, mapper) { }
public VideosService(MagicOfSewingDbContext dbContext, IMapper mapper) : base(dbContext, mapper) { }
public BaseEFService(MagicOfSewingDbContext dbContext, IMapper mapper) { this.DbContext = dbContext; this.Mapper = mapper; }