public SchoolController(ISchoolService schoolService, IUserService userService, IPaymentService paymentService) { _schoolService = schoolService; _userService = userService; _paymentService = paymentService; }
public RelatedEntitiesValidator(ITeacherService teacherService, IPupilService pupilService, ISchoolService schoolService) { _teacherService = teacherService; _pupilService = pupilService; _schoolService = schoolService; }
public LoginController(IUserService UserService, IMessagesService MessagesService, ISchoolService SchoolService) : base() { this._UserService = UserService; this._MessagesService = MessagesService; this._SchoolService = SchoolService; }
public UserController(JwtHeader header, ILoginService loginService, IUserService userService, ISchoolService schoolService) { _header = header; _loginService = loginService; _userService = userService; _schoolService = schoolService; }
public PaymentsController(IPaymentService paymentService, IOrderService orderService, ICustomerService customerService, ISchoolService schoolService) { this.paymentService = paymentService; this.orderService = orderService; this.customerService = customerService; this.schoolService = schoolService; }
public DashboardModel(IElasticClient elasticClient, ISchoolService schoolService) { _elasticClient = elasticClient; _schoolService = schoolService; SchoolsData = new List <Schools>(); Dashboards = new Dictionary <string, decimal>(); }
public UserController(ApplicationUserManager userManager, IThemeService themeService, IUserService userService, ISchoolService schoolService) { UserManager = userManager; _themeService = themeService; _userService = userService; _schoolService = schoolService; }
public HomeController(IStudentService StudentsService, ILookupService lookupService, ISchoolService SchoolService) : base() { this._StudentService = StudentsService; this._lookupService = lookupService; this._schoolService = SchoolService; }
public IHttpActionResult Index() { _schoolService = Ioc.Container.Resolve <ISchoolService>(); var schools = _schoolService.GetAllSchools(); return(Ok(schools)); }
public SchoolController( ISchoolService schoolService, ILogger <BaseController> logger ) : base(logger) { this.SchoolService = schoolService; }
public SchoolViewModel(ISchoolService schoolService) { _validator = new ValidationPage(); RegisterCommand = new Command(RegisterValidation); _schoolService = schoolService;// new SchoolService(); GetSchoolsDetails(); }
public OrdersController(IOrderService orderService, ICourseService courseService, ICustomerService customerService, ISchoolService schoolService) { this.orderService = orderService; this.courseService = courseService; this.customerService = customerService; this.schoolService = schoolService; }
public CommentController(IPostsService postsService, UserManager <ApplicationUser> userManager, ISchoolService schoolService, ICommentsService commentsService) { this.userManager = userManager; this.postsService = postsService; this.schoolService = schoolService; this.commentsService = commentsService; }
public FeedbacksController(IFeedbackService feedbackService, IOrderService orderService, ICustomerService customerService, ISchoolService schoolService) { this.feedbackService = feedbackService; this.orderService = orderService; this.customerService = customerService; this.schoolService = schoolService; }
public MenuFilterAttribute(ISchoolService schoolService, IMemoryCache icache, ITeacherService teacherService) { _schoolService = schoolService; _teacherService = teacherService; _cache = icache; }
public SchoolsController() { _schoolService = ServiceProxy.Create<ISchoolService>( new Uri("fabric:/TSLR/TSLR.SchoolService")); _schoolService = ServiceProxy.Create<ISchoolService>(new Uri("fabric:/TSLR/TSLR.SchoolService")); }
public SchoolsController( ILogger <SchoolsController> logger, ISchoolService schoolService) { _logger = logger; _schoolService = schoolService; }
public void Setup() { schoolRepository = new SchoolRepositoryMock(); schoolRepository.schools.Clear(); schoolService = new SchoolService(schoolRepository); }
public InstituteController(IInstituteService instituteService, IDistrictService districtService, IRoleSubModuleItemService roleSubModuleItemService, ISchoolService schoolService) { this.instituteService = instituteService; this.districtService = districtService; this.roleSubModuleItemService = roleSubModuleItemService; this.schoolService = schoolService; }
public SchoolController( ISchoolService schoolService, IMapper mapper) { this.schoolService = schoolService; this.mapper = mapper; }
public CoursesController(ICourseService courseService, ITrainerService trainerService, ICarService carService, ISchoolService schoolService) { this.courseService = courseService; this.trainerService = trainerService; this.carService = carService; this.schoolService = schoolService; }
public ClassesController(IClassesService classesService, ISchoolService schoolService, ITeacherService teacherService, UserManager <ApplicationUser> userManager) { this.classesService = classesService; this.schoolService = schoolService; this.teacherService = teacherService; this.userManager = userManager; }
public UserController(JwtHeader header, IClusterClient client) { _header = header; _userService = client.GetGrain <IUserService>(0); _loginService = client.GetGrain <ILoginService>(0); _schoolService = client.GetGrain <ISchoolService>(0); }
public async Task UpdateSchool_ShouldUpdateSchoolSuccessfully() { string errorMessagePrefix = "School UpdateAsync() does not work properly."; var context = NetBookDbContextInMemoryFactory.InitializeContext(); await this.SeedData(context); this.schoolService = new SchoolService(context); var testSchool = new SchoolServiceModel { Name = "TestName1", Town = "Test1", Municipality = "Test1", Region = "Test1", Area = "Test1", }; var actualResult = await this.schoolService.UpdateAsync(testSchool); Assert.True(actualResult, errorMessagePrefix); var updatedSchool = context.School.First(); Assert.True(updatedSchool.Name == testSchool.Name, errorMessagePrefix + " " + "School Name is not set properly."); Assert.True(updatedSchool.Town == testSchool.Town, errorMessagePrefix + " " + "School Town is not set properly."); Assert.True(updatedSchool.Municipality == testSchool.Municipality, errorMessagePrefix + " " + "School Municipality is not set properly."); Assert.True(updatedSchool.Region == testSchool.Region, errorMessagePrefix + " " + "School Region is not set properly."); Assert.True(updatedSchool.Area == testSchool.Area, errorMessagePrefix + " " + "School Area is not set properly."); }
public UserController(IUploadService uploadService, IUserService userService, ILoginService loginService, ISchoolService schoolSevice, JwtHeader header) { _uploadService = uploadService; _userService = userService; _loginService = loginService; _schoolService = schoolSevice; _header = header; }
public DashboardController(ApplicationUserManager userManager, IUserService userService, IApplicationService appService, IThemeService themeService, ISchoolService schoolService) { UserManager = userManager; _userService = userService; _appService = appService; _themeService = themeService; _schoolService = schoolService; }
public SearchController(ISchoolService schoolService, ISemesterSubjectService studySubjectService, IFileService fileService, IUserService userService) { _schoolService = schoolService; _studySubjectService = studySubjectService; _fileService = fileService; _userService = userService; }
public DutyEntryController(IDutyEntryService dutyEntryService, IDistrictService districtService, IRoleSubModuleItemService roleSubModuleItemService, IEmployeeAttendanceSummaryService employeeAttendanceSummaryService, ISchoolService schoolService) { this.dutyEntryService = dutyEntryService; this.districtService = districtService; this.roleSubModuleItemService = roleSubModuleItemService; this.employeeAttendanceSummaryService = employeeAttendanceSummaryService; this.schoolService = schoolService; }
public StudentHandler(IUserChain next, ISchoolService schoolService, IStudentService studentService, ILogger <StudentHandler> logger) { _next = next; _schoolService = schoolService; _studentService = studentService; _logger = logger; }
public LessonsController(ILessonService lessonService, ICustomerService customerService, IOrderService orderService, ISchoolService schoolService, ITrainerService trainerService) { this.lessonService = lessonService; this.customerService = customerService; this.orderService = orderService; this.schoolService = schoolService; this.trainerService = trainerService; }
public ExamsController(IExamService examService, IOrderService orderService, ICertificateService certificateService, ICustomerService customerService, ISchoolService schoolService) { this.examService = examService; this.orderService = orderService; this.certificateService = certificateService; this.customerService = customerService; this.schoolService = schoolService; }
public SchoolController(ISchoolService service, ILogger <SchoolController> logger, IHttpContextAccessor httpContextAccessor, ApplicationDbContext context) { _service = service; _logger = logger; _httpContextAccessor = httpContextAccessor; _context = context; CurrentUser.Configure(_httpContextAccessor); }
public StudentController(IStudentService studentService, ISchoolService schoolService, ISiteService siteService, IReportCardService reportCardService, ICommonService commonService) { _studentService = studentService; _schoolService = schoolService; _siteService = siteService; _reportCardService = reportCardService; _commonService = commonService; }
public MeController(IHostingEnvironment env, IOptions <JwtSettings> _jwtSettingsAccesser, IUserService userService, ILoginService loginService, ISchoolService schoolService) { _jwtSettings = _jwtSettingsAccesser.Value; this.userService = userService; this.hostingEnvironment = env; this.loginService = loginService; this.schoolService = schoolService; }
public SchoolController(ISchoolService schoolService, IMapper <SchoolEntity, SchoolDTO> schoolMapper, IMapper <SchoolEntity, SchoolDetailDTO> schoolDetailMapper) { this.schoolService = schoolService; this.schoolMapper = schoolMapper; this.schoolDetailMapper = schoolDetailMapper; }
public StudentListMarksCommand(ISchoolService service) { if (service == null) { throw new ArgumentNullException("service cannot be null"); } this.schoolService = service; }
public ManagementController(ISemesterSubjectService studySubjectService, IGroupService groupService, IFileService fileService, IUserService userService, ISchoolService schoolService) { _semesterSubjectService = studySubjectService; _groupService = groupService; _schoolService = schoolService; _fileService = fileService; _userService = userService; }
public CreateTeacherCommand(ITeacherFactory factory, ISchoolService service) { if (factory == null) { throw new ArgumentNullException("factory cannot be null"); } if (service == null) { throw new ArgumentNullException("service cannot be null"); } this.factory = factory; this.schoolService = service; }
public FeeReceiptController(IFeeReceiptService FeeReceiptService, ILookupService lookupService, IAcademicYearService AcademicYearService, IClassService ClassService, ISectionService SectionService, IBatchService BatchService, IFeeHeadService FeeHeadService, IStudentService StudentService, IFeeStructureService FeeStructureService, IFeeHeadOptionalEntryService FeeHeadOptionalEntryService, ISchoolService SchoolService) : base() { this._FeeReceiptService = FeeReceiptService; this._lookupService = lookupService; this._AcademicYearService = AcademicYearService; this._ClassService = ClassService; this._SectionService = SectionService; this._BatchService = BatchService; this._FeeHeadService = FeeHeadService; this._StudentService = StudentService; this._feeStructureService = FeeStructureService; this._FeeHeadOptionalEntryService = FeeHeadOptionalEntryService; this._SchoolService = SchoolService; }
public SchoolController(ApplicationUserManager userManager, ISchoolService schoolService, IUserService userService) { UserManager = userManager; _schoolService = schoolService; _userService = userService; }
public SchoolsController(ILogger logger, ISchoolService schoolService) : base(logger) { this.schoolService = schoolService; }
public CommonController(ISchoolService ObjService, IBoardService BoardService) : base() { this._SchoolService = ObjService; this._BoardService = BoardService; }
public SchoolAPIController(ISchoolService schoolService) { _schoolService = schoolService; }
public SchoolController(ISchoolService ObjService, IBoardService BoardService) : base() { this._ObjService = ObjService; _BoardService = BoardService; }
public LoggedInController(ISchoolService schoolService, IGroupService groupService) { _schoolService = schoolService; _groupService = groupService; }
public UniversityController(ISchoolService schoolService, IFileService fileService) { _schoolService = schoolService; _fileService = fileService; }
public HomeController(ISchoolService schoolService) { _schoolService = schoolService; }
// Initialization public ConnectionsController(ISchoolService schoolService) { this.schoolService = schoolService; }
public void Initialize() { _mockRepository = new Mock<IClassRepository>(); _mockStudentRepository = new Mock<IStudentRepository>(); _schoolService = new SchoolService(_mockRepository.Object, _mockStudentRepository.Object); }