Ejemplo n.º 1
0
 public GroupController(RoleManager <IdentityRole> roleManager, IOptionsSnapshot <Lab8Settings> settings,
                        UserManager <Lab8Model> userManager, IGroupRepository groupRepo)
 {
     _RoleManager = roleManager;
     _UserManager = userManager;
     _GroupRepo   = groupRepo;
     _Settings    = settings.Value;
 }
Ejemplo n.º 2
0
 public HealthController(IMemoryCache cache, IOptionsSnapshot <Lab8Settings> settings, IHealthRepository HealthRepo,
                         RoleManager <IdentityRole> roleManager, UserManager <Lab8Model> userManager)
 {
     _Settings   = settings.Value;
     _Cache      = cache;
     _HealthRepo = HealthRepo;
     RoleManager = roleManager;
     UserManager = userManager;
 }
Ejemplo n.º 3
0
 public InjuryController(IMemoryCache cache, IOptionsSnapshot <Lab8Settings> settings,
                         IInjuryRepository InjuryRepo, IInjuryLogRepository InjuryLogRepo,
                         IRehabRepository RehabRepo, UserManager <Lab8Model> UserManager)
 {
     _Settings      = settings.Value;
     _Cache         = cache;
     _InjuryRepo    = InjuryRepo;
     _InjuryLogRepo = InjuryLogRepo;
     _RehabRepo     = RehabRepo;
     _UserManager   = UserManager;
 }
Ejemplo n.º 4
0
 public CoachController(IMemoryCache cache, IOptionsSnapshot <Lab8Settings> settings, ICoachRepository CoachRepo)
 {
     _Settings  = settings.Value;
     _Cache     = cache;
     _CoachRepo = CoachRepo;
 }
Ejemplo n.º 5
0
 public BookController(IMemoryCache cache, IOptionsSnapshot <Lab8Settings> settings, IBookRepository BookRepo)
 {
     _Settings = settings.Value;
     _Cache    = cache;
     _BookRepo = BookRepo;
 }
Ejemplo n.º 6
0
 public TrainerController(IMemoryCache cache, IOptionsSnapshot <Lab8Settings> settings, IRehabRepository RehabRepo)
 {
     _Settings  = settings.Value;
     _Cache     = cache;
     _RehabRepo = RehabRepo;
 }
Ejemplo n.º 7
0
 public WorkOutController(IMemoryCache cache, IOptionsSnapshot <Lab8Settings> settings, IWorkOutRepository WorkOutRepo)
 {
     _Settings    = settings.Value;
     _Cache       = cache;
     _WorkOutRepo = WorkOutRepo;
 }
 public AdventureController(IMemoryCache cache, IOptionsSnapshot <Lab8Settings> settings, IAdventureRepository adventureRepo)
 {
     _Settings      = settings.Value;
     _Cache         = cache;
     _AdventureRepo = adventureRepo;
 }