public SchoolController(ISchoolService schoolService, IDatabase database, IMapper mapper, IFilesUploader filesUploader, INotificationSystem notificationSystem, IUserService userService, IRolesService rolesService) { this.schoolService = schoolService; this.database = database; this.mapper = mapper; this.filesUploader = filesUploader; this.notificationSystem = notificationSystem; this.userService = userService; this.rolesService = rolesService; this.filesUploader.PreparePathAndUrl("schools"); }
public AccountController(IAccountManager accountManager, IMapper mapper, IEmailSender emailSender, IConfiguration configuration, IFilesUploader filesUploader, IDatabase database, IAuthService authService) { this.accountManager = accountManager; this.mapper = mapper; this.emailSender = emailSender; this.filesUploader = filesUploader; this.database = database; this.authService = authService; this.Configuration = configuration; this.filesUploader.PreparePathAndUrl("users"); }