public AdminController(IUnitOfWork unitOfWork, UserManager <ApplicationUser> userManager, RoleManager <IdentityRole> roleManager, IOptions <AppSettings> appSettings, ICloudniaryService cloudniaryService) { this.unitOfWork = unitOfWork; this.userManager = userManager; this.roleManager = roleManager; this.appSettings = appSettings; this.cloudniaryService = cloudniaryService; }
public DashboardController(IUnitOfWork unitOfWork, ICloudniaryService cloudniaryService) : base(unitOfWork) { this.UnitOfWork = unitOfWork; this.CloudniaryService = cloudniaryService; }