コード例 #1
0
ファイル: UsersController.cs プロジェクト: hiwamn/Lobster
 public UsersController(IHostingEnvironment _hosting, IUnitOfWork _unit,
                        UserManager <User> _userManager, RoleManager <Role> _roleManager, IChangeUserStatus changeUserStatus,
                        IUpdateProfile updateProfile)
 {
     hosting               = _hosting;
     this.unit             = _unit;
     this.userManager      = _userManager;
     this.roleManager      = _roleManager;
     this.changeUserStatus = changeUserStatus;
     this.updateProfile    = updateProfile;
 }
コード例 #2
0
 public UserController(
     IChangeUserStatus changeUserStatus,
     IEditProfile setProfileImage,
     ISendImage sendImage,
     ISearch search
     )
 {
     this.changeUserStatus = changeUserStatus;
     this.editProfile      = setProfileImage;
     this.sendImage        = sendImage;
     this.search           = search;
 }
コード例 #3
0
 public AdminController(
     IGetUsersByPage getUsersByPage,
     IChangeUserStatus changeUserStatus,
     IGetDashboard getDashboard,
     IGetLeadType getLeadType,
     IGetUserIdentityPhoto getUserIdentityPhoto,
     IIdentityImageValidation identityImageValidation,
     IGetAdminSummaries getAdminSummaries
     )
 {
     this.getUsersByPage          = getUsersByPage;
     this.changeUserStatus        = changeUserStatus;
     this.getDashboard            = getDashboard;
     this.getLeadType             = getLeadType;
     this.getUserIdentityPhoto    = getUserIdentityPhoto;
     this.identityImageValidation = identityImageValidation;
     this.getAdminSummaries       = getAdminSummaries;
 }