예제 #1
0
 public ManageAdminController(ManageAdminService manageAdminService, IManageAdminAPIController manageAdminAPIController, IUserService userService, IManageContentService manageContentService)
 {
     _manageAdminService       = manageAdminService;
     _manageAdminAPIController = manageAdminAPIController;
     _userService          = userService;
     _manageContentService = manageContentService;
 }
예제 #2
0
 public AccountController(UserManager <ApplicationUser> userManager, IEmailService emailService, IScreenPermissionService screenPermissionService, IUserService userService, IManageContentService manageContentService, IManageAdminService manageAdminService)
 {
     _emailService            = emailService;
     _userService             = userService;
     UserManager              = userManager;
     _screenPermissionService = screenPermissionService;
     _manageContentService    = manageContentService;
     _manageAdminService      = manageAdminService;
 }
예제 #3
0
 public ManageUserController(ManageUserService manageUserService, IManageUserAPIController manageUserAPIController, ManageContentService manageContentService, IManageContentAPIController manageContentAPIController, IUserService userService, IManageCategoryService manageCategoryService)
 {
     _manageUserService       = manageUserService;
     _manageUserAPIController = manageUserAPIController;
     _manageContentApi        = manageContentAPIController;
     _manageContentService    = manageContentService;
     _userService             = userService;
     _manageCategoryService   = manageCategoryService;
 }
예제 #4
0
 public AccountController(IScreenPermissionService screenPermissionService, IEmailService emailService, IUserService userService, IManageContentService manageContentService, IManageAdminService manageAdminService)
     : this(new UserManager <ApplicationUser>(new UserStore <ApplicationUser>(new ApplicationDbContext())),
            new EmailService(new Config(), new HtmlMessageFormatter(new Config())
                             , new EmailMessageSender(new Config())), screenPermissionService, userService, manageContentService, manageAdminService)
 {
 }
예제 #5
0
 public ManageContentAPIController(IManageContentService _ManageContentService)
 {
     _manageContentService = _ManageContentService;
 }