Example #1
0
 //DI
 public UserManager(IProjectUnitOfWork uow, IAuthService authService, IUserHistoryService userHistoryService, IDocumentService documentService)
 {
     _uow                = uow;
     _authService        = authService;
     _userHistoryService = userHistoryService;
     _documentService    = documentService;
 }
 //DI
 public ArticleLikeDisslikeManager(IProjectUnitOfWork uow, IAuthService authService, IUserHistoryService userHistoryService, IArticleService articleService)
 {
     _uow                = uow;
     _authService        = authService;
     _userHistoryService = userHistoryService;
     _articleService     = articleService;
 }
Example #3
0
 public HomeController(
     IIdentityService identityService,
     IRecipesService recipesService,
     IWorkoutsService workoutsService,
     ICurrentUserService currentUser,
     IMapper mapper,
     IMealsService mealsService,
     ICaloriesService caloriesService,
     IUserHistoryService userHistory)
 {
     this.identityService = identityService;
     this.recipesService  = recipesService;
     this.workoutsService = workoutsService;
     this.currentUser     = currentUser;
     this.mapper          = mapper;
     this.mealsService    = mealsService;
     this.caloriesService = caloriesService;
     this.userHistory     = userHistory;
 }
 public MealTrackedConsumer(IUserHistoryService userHistoryService)
 => this.userHistoryService = userHistoryService;
Example #5
0
 public ExerciseTrackedConsumer(IUserHistoryService userHistoryService)
 => this.userHistoryService = userHistoryService;
Example #6
0
 public HistoryController(IUserHistoryService userHistoryService)
 => this.userHistoryService = userHistoryService;
 //DI
 public TopicManager(IAuthService authService, IProjectUnitOfWork uow, IUserHistoryService userHistoryService)
 {
     _authService        = authService;
     _uow                = uow;
     _userHistoryService = userHistoryService;
 }