//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; }
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;
public ExerciseTrackedConsumer(IUserHistoryService userHistoryService) => this.userHistoryService = userHistoryService;
public HistoryController(IUserHistoryService userHistoryService) => this.userHistoryService = userHistoryService;
//DI public TopicManager(IAuthService authService, IProjectUnitOfWork uow, IUserHistoryService userHistoryService) { _authService = authService; _uow = uow; _userHistoryService = userHistoryService; }