Exemple #1
0
 public ActivityService(IActivityAccessor acc, IUserAccessor uAcc, IUserBadgeAccessor ubAcc, IUserGoalAccessor ugAcc, IBadgeAccessor bAcc, IGoalAccessor gAcc, IActivityForest forest, IActivityReportAccessor arAcc)
 {
     _forest = forest;
     _acc    = acc;
     _arAcc  = arAcc;
     _uAcc   = uAcc;
     _ubAcc  = ubAcc;
     _ugAcc  = ugAcc;
     _bAcc   = bAcc;
     _gAcc   = gAcc;
 }
Exemple #2
0
 public HomeController(ILogger <HomeController> logger, IHttpContextAccessor httpcontext, IActivityAccessor activityAccessor)
 {
     _logger = logger;
     _httpContextAccessor = httpcontext;
     _activityAccessor    = activityAccessor;
 }
Exemple #3
0
 // This is the full constructor
 public ActivityManager(IActivityAccessor activityAccessor)
 {
     _activityAccessor = activityAccessor;
 }
Exemple #4
0
 // This is the no argument consrtuctor
 public ActivityManager()
 {
     _activityAccessor = new ActivityAccessor();
 }