public QuestionService(QuestionRepository questinRepository, ICustomExceptionValidationService customExceptionValidationService, IOrganizationRepository orgRepository, ISubjectRepository subjectRepository) { _questinRepository = questinRepository; _customExceptionValidationService = customExceptionValidationService; _orgRepository = orgRepository; _subjectRepository = subjectRepository; }
/// <summary> /// /// </summary> /// <param name="userRepository"></param> /// <param name="customExceptionValidationService"></param> /// <param name="organizationRepository"></param> public UserService(IUserRepository userRepository, ICustomExceptionValidationService customExceptionValidationService, IOrganizationRepository organizationRepository) { _userRepository = userRepository; _customExceptionValidationService = customExceptionValidationService; _organizationRepository = organizationRepository; }
/// <summary> /// User Controller /// </summary> /// <param name="userService"></param> /// <param name="userRepository"></param> /// <param name="customExceptionValidationService"></param> public UserController(IUserService userService, IUserRepository userRepository, ICustomExceptionValidationService customExceptionValidationService) { _userService = userService; _userRepository = userRepository; _customExceptionValidationService = customExceptionValidationService; }
/// <summary> /// Organization Service /// </summary> /// <param name="organizationRepository"></param> /// <param name="customExceptionValidationService"></param> public OrganizationService(IOrganizationRepository organizationRepository, ICustomExceptionValidationService customExceptionValidationService) { _organizationRepository = organizationRepository; _customExceptionValidationService = customExceptionValidationService; }
/// <summary> /// Organization Service /// </summary> /// <param name="subjectRepository"></param> /// <param name="customExceptionValidationService"></param> public SubjectService(ISubjectRepository subjectRepository, ICustomExceptionValidationService customExceptionValidationService) { _subjetcRepository = subjectRepository; _customExceptionValidationService = customExceptionValidationService; }