public StudentController(IAuthenticationService authenticationService, IStudentRegistrationService studentRegistrationService, IStudentService studentService) { this.authenticationService = authenticationService; this.studentRegistrationService = studentRegistrationService; this.studentService = studentService; }
public StudentRegistrationServiceTests() { this.storageBrokerMock = new Mock <IStorageBroker>(); this.loggingBrokerMock = new Mock <ILoggingBroker>(); this.studentRegistrationService = new StudentRegistrationService( storageBroker: this.storageBrokerMock.Object, loggingBroker: this.loggingBrokerMock.Object); }
public StudentController(IAuthenticationService authenticationService, IStudentService studentService, IStudentRegistrationService studentRegistrationService, IStudentActivityService studentActivityService, IWorkContext workContext, IWebHelper webHelper) { _authenticationService = authenticationService; _studentService = studentService; _studentRegistrationService = studentRegistrationService; _studentActivityService = studentActivityService; _workContext = workContext; _webHelper = webHelper; }
public StudentRegistrationsController(IStudentRegistrationService studentRegistrationService) => this.studentRegistrationService = studentRegistrationService;
public RegistrationModel(IStudentRegistrationService registrationService) : base(registrationService) { }
public StudentRegistrationApiController(IStudentRegistrationService studentRegistration) { this.studentRegistration = studentRegistration; }
public RegistrationBaseModel() { _registrationService = Startup.AutofacContainer.Resolve <IStudentRegistrationService>(); }
public RegistrationBaseModel(IStudentRegistrationService registrationService) { _registrationService = registrationService; }
public StudentRegistrationController(IStudentRegistrationService studentRegistrationService) { _studentRegistrationService = studentRegistrationService; }