public ApplicationUserController(UserManager <ApplicationUser> userManager, RoleManager <IdentityRole> roleManager,
                                  IOptions <ApplicationSetting> appSettings, IBaseUrlHelper baseUrlHelper)
 {
     _userManager   = userManager;
     _roleManager   = roleManager;
     _appSettings   = appSettings.Value;
     _baseUrlHelper = baseUrlHelper;
 }
 public ApplicationUserController(RoleManager <IdentityRole> roleManager, UserManager <ApplicationUser> userManager,
                                  SignInManager <ApplicationUser> signInManager,
                                  IOptions <ApplicationSetting> appSettings, IBaseUrlHelper baseUrlHelper, IHomeService homeService)
 {
     _userManager   = userManager;
     _signInManager = signInManager;
     _appSettings   = appSettings.Value;
     _roleManager   = roleManager;
     _baseUrlHelper = baseUrlHelper;
     _homeService   = homeService;
 }
 public AdminsController(UserManager <ApplicationUser> userManager, IUserService userService, RoleManager <IdentityRole> roleManager,
                         BookStoreDbContext context, IBaseUrlHelper baseUrlHelper, IImageFileService imageFileService,
                         IAdminService adminService, IMapper mapper)
 {
     _userManager      = userManager;
     _userService      = userService;
     _roleManager      = roleManager;
     _baseUrlHelper    = baseUrlHelper;
     _imageFileService = imageFileService;
     _adminService     = adminService;
     _mapper           = mapper;
     this._context     = context;
 }
 public UsersController(IUserService userService, IImageFileService imageFileService, IBaseUrlHelper baseUrlHelper,
                        IImageService imageService, IPublicTripService publicTripService,
                        IHomeService homeService, IReferenceService referenceService,
                        ITravelRequestService travelRequestService, IHostOfferService hostOfferService,
                        IFriendRequestService friendRequestService, IFriendService friendService,
                        IMessageService messageService, IMessageSenderService messageSenderService)
 {
     _userService          = userService;
     _imageFileService     = imageFileService;
     _baseUrlHelper        = baseUrlHelper;
     _imageService         = imageService;
     _publicTripService    = publicTripService;
     _homeService          = homeService;
     _referenceService     = referenceService;
     _travelRequestService = travelRequestService;
     _hostOfferService     = hostOfferService;
     _friendRequestService = friendRequestService;
     _friendService        = friendService;
     _messageService       = messageService;
     _messageSenderService = messageSenderService;
 }
 public RecordingsRepository(IOptions <Settings> settings, IBaseUrlHelper baseUrlHelper)
 {
     _settings      = settings.Value;
     _baseUrlHelper = baseUrlHelper;
 }
示例#6
0
 public UsersController(IUserService userService, IBaseUrlHelper baseUrlHelper, IImageFileService imageFileService)
 {
     _userService      = userService;
     _baseUrlHelper    = baseUrlHelper;
     _imageFileService = imageFileService;
 }
 public ImagesController(IImageFileService imageFileService, IImageService imageService, IBaseUrlHelper baseUrlHelper)
 {
     _imageFileService = imageFileService;
     _imageService     = imageService;
     _baseUrlHelper    = baseUrlHelper;
 }