Esempio n. 1
0
        public CalendarApiController(LazyApeDbContext db, UserManager <ApplicationUser> userManager)
        {
            //Set db and user manager
            _db          = db;
            _userManager = userManager;

            //Set timeEdit api controller
            _te = new TimeEditApiController();
            //Set autoGenerator controller
            _auto = new TaskAutoGeneratorController(db, userManager);
            //Set settings api controller
            _se = new SettingsApiController(db, userManager);
        }
Esempio n. 2
0
 public TaskAutoGeneratorController(LazyApeDbContext db, UserManager <ApplicationUser> um)
 {
     _db = db;
     _um = um;
 }
 public FeideApiController(LazyApeDbContext db, UserManager <ApplicationUser> userManager)
 {
     _db          = db;
     _userManager = userManager;
 }
Esempio n. 4
0
 /// <summary>
 /// The settings api controllers construnctor
 /// </summary>
 /// <param name="db">The database context to use</param>
 /// <param name="um">The user manager to use</param>
 public SettingsApiController(LazyApeDbContext db, UserManager <ApplicationUser> um)
 {
     //Add the values given for database context and user manager
     _db = db;
     _um = um;
 }
 public SettingsApiController(LazyApeDbContext db, UserManager <ApplicationUser> um)
 {
     _db = db;
     _um = um;
 }