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