Exemplo n.º 1
0
 public CreateModel(BasicDeskDbContext dbContext, UserManager <User> userManager, IMapper mapper)
 {
     this.Model       = new SolutionCreationBindingModel();
     this.dbContext   = dbContext;
     this.userManager = userManager;
     this.mapper      = mapper;
 }
Exemplo n.º 2
0
 public UsersController(BasicDeskDbContext dbContext, IMapper mapper,
                        UserManager <User> userManager)
 {
     this.dbContext   = dbContext;
     this.mapper      = mapper;
     this.userManager = userManager;
 }
 public ManageModel(BasicDeskDbContext dbContext, UserManager <User> userManager)
 {
     this.ViewModel    = new RequestManagingModel();
     this.bindingModel = new RequestEditingBindingModel();
     this.dbContext    = dbContext;
     this.userManager  = userManager;
 }
Exemplo n.º 4
0
 public ManageModel(BasicDeskDbContext dbContext, UserManager <User> userManager, IRequestService requestService, ICategoriesService categoriesService)
 {
     this.ViewModel         = new RequestManagingModel();
     this.bindingModel      = new RequestEditingBindingModel();
     this.userManager       = userManager;
     this.requestService    = requestService;
     this.categoriesService = categoriesService;
 }
Exemplo n.º 5
0
 public RequestsController(BasicDeskDbContext dbContext, IMapper mapper, UserManager <User> userManager,
                           RequestService requestService, RequestSorter requestSorter)
 {
     this.dbContext      = dbContext;
     this.mapper         = mapper;
     this.userManager    = userManager;
     this.requestService = requestService;
     this.requestSorter  = requestSorter;
 }
Exemplo n.º 6
0
 public DbRepository(BasicDeskDbContext dbContext)
 {
     this.dbContext = dbContext;
     this.dbSet     = this.dbContext.Set <TEntity>();
 }
 public void InitializeTests()
 {
     this.dbContext = TestsDbContext.GetDbContext();
 }
Exemplo n.º 8
0
 public ChatModel(UserManager <User> userManager, BasicDeskDbContext dbContext)
 {
     this.userManager = userManager;
     this.dbContext   = dbContext;
 }
Exemplo n.º 9
0
 public CategoriesController(BasicDeskDbContext dbContext, IMapper mapper)
 {
     this.dbContext = dbContext;
     this.mapper    = mapper;
 }
Exemplo n.º 10
0
 public DetailsModel(BasicDeskDbContext dbContext)
 {
     this.dbContext = dbContext;
 }
Exemplo n.º 11
0
 public ReportModel(BasicDeskDbContext dbContext)
 {
     this.Model     = new List <ReportViewModel>();
     this.dbContext = dbContext;
 }
 public SolutionsController(BasicDeskDbContext dbContext, IMapper mapper)
 {
     this.mapper    = mapper;
     this.dbContext = dbContext;
 }
Exemplo n.º 13
0
 public CreateModel(BasicDeskDbContext dbContext)
 {
     this.dbContext = dbContext;
 }
 public DetailsModel(BasicDeskDbContext dbContext, IMapper mapper)
 {
     this.dbContext = dbContext;
     this.mapper    = mapper;
 }