public SourceManageController(GuideContext db, UserManager <User> userManager, IWebHostEnvironment environment, UploadService uploadService)
 {
     _db            = db;
     _userManager   = userManager;
     _environment   = environment;
     _uploadService = uploadService;
 }
示例#2
0
 /// <summary>
 /// Default contructor.
 /// </summary>
 public LoginController(ILogger <LoginController> logger, PersonContext personContext, TravelerContext travelerContext, GuideContext guideContext)
 {
     this._logger          = logger;
     this._personContext   = personContext;
     this._travelerContext = travelerContext;
     this._guideContext    = guideContext;
 }
示例#3
0
 public HomeController(UserManager <ApplicationUser> userManager, IServiceProvider serviceProvider,
                       SignInManager <ApplicationUser> signInManager, RoleManager <IdentityRole> roleManager, IEmailSender emailSender,
                       IStringLocalizer <HomeController> localizer, GuideContext context)
 {
     this.userManager     = userManager;
     this.serviceProvider = serviceProvider;
     this.signInManager   = signInManager;
     this.roleManager     = roleManager;
     this.localizer       = localizer;
     this.emailSender     = emailSender;
     this.context         = context;
 }
示例#4
0
 public UserController(UserManager <ApplicationUser> userManager, IServiceProvider serviceProvider,
                       SignInManager <ApplicationUser> signInManager, RoleManager <IdentityRole> roleManager,
                       IStringLocalizer <UserController> localizer, IdentityContext context, GuideContext guidecontext)
 {
     this.userManager     = userManager;
     this.serviceProvider = serviceProvider;
     this.signInManager   = signInManager;
     this.roleManager     = roleManager;
     this.localizer       = localizer;
     this.context         = context;
     this.guidecontext    = guidecontext;
 }
示例#5
0
 public SourceController(GuideContext db)
 {
     _db = db;
 }
示例#6
0
 public AccountController()
 {
     _context = new GuideContext();
 }
示例#7
0
 public IssuesManageController(GuideContext db)
 {
     _db = db;
 }
 public QuestionAnswersController(GuideContext db, UserManager <User> userManager)
 {
     _db          = db;
     _userManager = userManager;
 }
 public GlossarysController(GuideContext db)
 {
     _db = db;
 }
示例#10
0
 public UserRepository(GuideContext db)
 {
     _db = db;
 }
示例#11
0
 public GuideRepository(GuideContext context) : base(context)
 {
 }
示例#12
0
 public UserController()
 {
     _context  = new GuideContext();
     _vcontext = new GuideViewContext();
 }
示例#13
0
 public BusinessProcessController(GuideContext db)
 {
     _db = db;
 }
 public DesiredResultController(GuideContext db)
 {
     _db = db;
 }
示例#15
0
 public CurrentTradingPeriodRepository(GuideContext context) : base(context)
 {
 }
示例#16
0
 public QuoteIndicatorRepository(GuideContext context) : base(context)
 {
 }
示例#17
0
 public StepsController(GuideContext db)
 {
     _db = db;
 }
示例#18
0
 public GuidesController(GuideContext context)
 {
     _context = context;
 }
示例#19
0
 public SearchController(GuideContext db)
 {
     _db = db;
 }
示例#20
0
 public BaseController()
 {
     ViewData["profile"] = GetProfileSession();
     _context            = new GuideContext();
 }
示例#21
0
 public UsersManageController(GuideContext db, UserManager <User> userManager)
 {
     _db          = db;
     _userManager = userManager;
 }
示例#22
0
 public UtilSession()
 {
     _context = new GuideContext();
 }
示例#23
0
 public PlaceController()
 {
     _context  = new GuideContext();
     _vcontext = new GuideViewContext();
 }
 public ServiceController(UserManager <User> userManager, GuideContext db)
 {
     _userManager = userManager;
     _db          = db;
 }
示例#25
0
 public CheckPointController()
 {
     _context = new GuideContext();
 }
示例#26
0
 /// <summary>
 /// Default
 /// </summary>
 public TravelerController(GuideContext guideContext, MessageContext messageContext)
 {
     this._guideContext   = guideContext;
     this._messageContext = messageContext;
 }
示例#27
0
 public Repository(GuideContext context)
 {
     _context  = context;
     _entities = context.Set <TEntity>();
 }
示例#28
0
 public UserController()
 {
     db   = new GuideContext();
     _vdb = new GuideViewContext();
 }
示例#29
0
 public UnitOfWork(GuideContext context)
 {
     Context   = context;
     _disposed = false;
 }
 public AutoresController(GuideContext context)
 {
     _context = context;
 }