コード例 #1
0
 public CreateModel(BasicDeskDbContext dbContext, UserManager <User> userManager, IMapper mapper)
 {
     this.Model       = new SolutionCreationBindingModel();
     this.dbContext   = dbContext;
     this.userManager = userManager;
     this.mapper      = mapper;
 }
コード例 #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;
 }
コード例 #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;
 }
コード例 #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;
 }
コード例 #6
0
 public DbRepository(BasicDeskDbContext dbContext)
 {
     this.dbContext = dbContext;
     this.dbSet     = this.dbContext.Set <TEntity>();
 }
 public void InitializeTests()
 {
     this.dbContext = TestsDbContext.GetDbContext();
 }
コード例 #8
0
 public ChatModel(UserManager <User> userManager, BasicDeskDbContext dbContext)
 {
     this.userManager = userManager;
     this.dbContext   = dbContext;
 }
コード例 #9
0
 public CategoriesController(BasicDeskDbContext dbContext, IMapper mapper)
 {
     this.dbContext = dbContext;
     this.mapper    = mapper;
 }
コード例 #10
0
 public DetailsModel(BasicDeskDbContext dbContext)
 {
     this.dbContext = dbContext;
 }
コード例 #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;
 }
コード例 #13
0
 public CreateModel(BasicDeskDbContext dbContext)
 {
     this.dbContext = dbContext;
 }
 public DetailsModel(BasicDeskDbContext dbContext, IMapper mapper)
 {
     this.dbContext = dbContext;
     this.mapper    = mapper;
 }