Example #1
0
 public HomeController(
     UserManager <AppUser> userManager,
     SignInManager <AppUser> signInManager,
     GymAppContext context,
     IMemoryCache cache)
 {
     _userManager   = userManager;
     _signInManager = signInManager;
     _context       = context;
     _cache         = cache;
 }
Example #2
0
        //public List<Exercise> ExercisesList { get; set; }

        public WorkoutController(
            UserManager <AppUser> userManager,
            SignInManager <AppUser> signInManager,
            GymAppContext context,
            IMemoryCache cache)
        {
            _userManager   = userManager;
            _signInManager = signInManager;
            _context       = context;
            _cache         = cache;
            //ExercisesList = getExercisesFromAPI();
        }
Example #3
0
 public GymController(GymAppContext gymAppContext)
 {
     db = gymAppContext;
 }
 public ReservationController(GymAppContext gymAppContext)
 {
     db = gymAppContext;
 }
Example #5
0
 public HomeController(GymAppContext gymAppContext)
 {
     db = gymAppContext;
 }
 public UserController(GymAppContext gymAppContext)
 {
     db = gymAppContext;
 }
Example #7
0
 public AuthController(GymAppContext gymAppContext)
 {
     db = gymAppContext;
 }
Example #8
0
 public HelperService(GymAppContext gymAppContext)
 {
     db = gymAppContext;
 }
 public CheckInController(GymAppContext gymAppContext)
 {
     db = gymAppContext;
 }