Example #1
0
 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;
 }
Example #2
0
 public UserController(
     IChangeUserStatus changeUserStatus,
     IEditProfile setProfileImage,
     ISendImage sendImage,
     ISearch search
     )
 {
     this.changeUserStatus = changeUserStatus;
     this.editProfile      = setProfileImage;
     this.sendImage        = sendImage;
     this.search           = search;
 }
Example #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;
 }