Пример #1
0
 public ProfileController(UserManager <ApplicationUser> userManager, ITravelInterestRepository travelInterestRepository, IUserTravelInterestRepository userTravelInterestRepository, IHealthInterestRepository healthInterestRepository, IUserHealthInterestRepository userHealthInterestRepository, IFoodInterestRepository foodInterestRepository, IUserFoodInterestRepository userFoodInterestRepository, RoleManager <IdentityRole> roleManager)
 {
     this.userManager = userManager;
     this.travelInterestRepository     = travelInterestRepository;
     this.userTravelInterestRepository = userTravelInterestRepository;
     this.healthInterestRepository     = healthInterestRepository;
     this.userHealthInterestRepository = userHealthInterestRepository;
     this.foodInterestRepository       = foodInterestRepository;
     this.userFoodInterestRepository   = userFoodInterestRepository;
     _roleManager = roleManager;
 }
Пример #2
0
 public ProfileController(IUserTravelInterestRepository userTravelInterestRepository, IUserHealthInterestRepository userHealthInterestRepository, IUserFoodInterestRepository userFoodInterestRepository)
 {
     this.userTravelInterestRepository = userTravelInterestRepository;
     this.userHealthInterestRepository = userHealthInterestRepository;
     this.userFoodInterestRepository   = userFoodInterestRepository;
 }