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; }
public HomeController(ILogger <HomeController> logger, IHttpContextAccessor httpcontext, IActivityAccessor activityAccessor) { _logger = logger; _httpContextAccessor = httpcontext; _activityAccessor = activityAccessor; }
// This is the full constructor public ActivityManager(IActivityAccessor activityAccessor) { _activityAccessor = activityAccessor; }
// This is the no argument consrtuctor public ActivityManager() { _activityAccessor = new ActivityAccessor(); }