Ejemplo n.º 1
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.º 2
0
 public TrainerController(IMemoryCache cache, IOptionsSnapshot <Lab8Settings> settings, IRehabRepository RehabRepo)
 {
     _Settings  = settings.Value;
     _Cache     = cache;
     _RehabRepo = RehabRepo;
 }