예제 #1
0
 public ExercisesViewModel(CustomIdentityContext identityContext, IExerciseRepository exerciseRepository, IWorkoutRepository workoutRepository, IMuscleGroupRepository muscleGroupRepository)
 {
     _identityContext       = identityContext;
     _exerciseRepository    = exerciseRepository;
     _workoutRepository     = workoutRepository;
     _muscleGroupRepository = muscleGroupRepository;
 }
예제 #2
0
 public RoutineController(IMuscleGroupRepository repo, AppMuscleDbContext context, Routine routineService, UserManager <AppUser> usrMgr, IRoutineRepository reposi, RoutineDbContext context__)
 {
     userManager = usrMgr;
     _context    = context;
     repository  = repo;
     routine     = routineService;
     reposi      = repos;
     context__   = context_;
 }
예제 #3
0
        public HomeController(UserManager <IdentityUser> userManager, ILogger <HomeController> logger, CustomIdentityContext _identityContext, IExerciseRepository exerciseRepository, IWorkoutRepository workoutRepository, IMuscleGroupRepository muscleGroupRepository)
        {
            _userManager       = userManager;
            _identityDbContext = _identityContext;

            _exerciseRepository    = exerciseRepository;
            _workoutRepository     = workoutRepository;
            _muscleGroupRepository = muscleGroupRepository;

            _logger = logger;
        }
예제 #4
0
 public HomeController(UserManager <AppUser> usrMgr,
                       IUserValidator <AppUser> userValid,
                       IPasswordValidator <AppUser> passValid,
                       IPasswordHasher <AppUser> passwordHash, IExcerciserRepository repo, ApplicationDbContext context,
                       AppMuscleDbContext mContext, IMuscleGroupRepository mRepo)
 {
     userManager       = usrMgr;
     userValidator     = userValid;
     passwordValidator = passValid;
     passwordHasher    = passwordHash;
     repository        = repo;
     _context          = context;
     muscleRepository  = mRepo;
     __context         = mContext;
 }
예제 #5
0
 public MuscleGroupsController(IMuscleGroupRepository muscleGroupRepository)
 {
     _muscleGroupRepository = muscleGroupRepository;
 }
 public NavigationMenuViewComponent(IMuscleGroupRepository repo)
 {
     repository = repo;
 }
예제 #7
0
 public MuscleGroupsController(AppMuscleDbContext context, IMuscleGroupRepository repos)
 {
     _context   = context;
     repository = repos;
 }