public UploadController(
     IMyUserManager userManager,
     ApplicationDbContext context
     )
 {
     _userManager = userManager;
     _context     = context;
 }
Example #2
0
        public UsersController(
            ApplicationDbContext context,
            UserManager <ApplicationUser> userManager,
            IMyUserManager myManager

            )
        {
            _userManager = userManager;
            _context     = context;
            _myManager   = myManager;
        }
Example #3
0
 public AccountController(IMyUserManager myUserManager)
 {
     this.myUserManager = myUserManager;
 }
 protected override void Dispose(bool disposing)
 {
     if (disposing && UserManager != null)
     {
         UserManager.Dispose();
         UserManager = null;
     }
     base.Dispose(disposing);
 }
        private const int PASSWORD_EXPIRATION_IN_MONTHS = 6; // this constant represents number of months where users passwords expire 

        public AccountController(IMyUserManager<ApplicationUser> userManager, IDatabaseFactory databaseFactory)
        {
            UserManager = userManager;
            DatabaseFactory = databaseFactory;
        }
Example #6
0
        //private IVehicleServiceManager vehicleServiceManager;

        public HomeController(ICarManager carManager, IMyUserManager myUserManager, ILanguageManager languageManager) : base(myUserManager, languageManager)
        {
            this.carManager = carManager;
            //this.vehicleServiceManager = vehicleServiceManager;
        }
 protected BaseController(IMyUserManager myUserManager, ILanguageManager languageManager)
 {
     this.myUserManager   = myUserManager;
     this.languageManager = languageManager;
 }
 public GroupUsersController(ApplicationDbContext context, IMyUserManager userManager)
 {
     _context     = context;
     _userManager = userManager;
 }
 public LanguageController(IMyUserManager myUserManager, ILanguageManager languageManager) : base(myUserManager, languageManager)
 {
 }
 public ManufacturerController(IManufacturerManager manufacturerManager, IMyUserManager myUserManager, ILanguageManager languageManager) : base(myUserManager, languageManager)
 {
     this.manufacturerManager = manufacturerManager;
 }
Example #11
0
 public VehicleServiceController(IVehicleServiceManager vehicleServiceManager, IMyUserManager myUserManager, ILanguageManager languageManager) : base(myUserManager, languageManager)
 {
     this.vehicleServiceManager = vehicleServiceManager;
 }
 public UserController(ILanguageManager langManager, IMyUserManager myUserManager, ILanguageManager languageManager) : base(myUserManager, languageManager)
 {
     //this.userManager = userManager;
     this.langManager = langManager;
 }
Example #13
0
 public ForumController(IForumManager forumManager, IMyUserManager myUserManager, ILanguageManager languageManager) : base(myUserManager,languageManager)
 {
     this.forumManager = forumManager;
 }
Example #14
0
 public AccountController(ApplicationUserManager userManager, ApplicationSignInManager signInManager, IMyUserManager myUserManager)
 {
     UserManager        = userManager;
     SignInManager      = signInManager;
     this.myUserManager = myUserManager;
 }
 public CostController(ICarManager carManager, IMyUserManager myUserManager, ILanguageManager languageManager) : base(myUserManager, languageManager)
 {
     this.carManager = carManager;
 }
 public MessagesController(ApplicationDbContext context, IMyUserManager userManager)
 {
     _userManager = userManager;
     _context     = context;
 }
Example #17
0
 public CommercialController(ICommercialManager commercialManager, IMyUserManager myUserManager, ILanguageManager languageManager) : base(myUserManager, languageManager)
 {
     this.commercialManager = commercialManager;
 }