public BatchController(IBatch batchRepo, IStudentBatch studentBatchRepo, IStudents studentRepo, IProgram program) { _batchRepo = batchRepo; _studentBatchRepo = studentBatchRepo; _studentRepo = studentRepo; _program = program; }
// public HomeController() { } /* public HomeController(AssesmentsRepositories assRepos,CoursesRepositories courRepos, SpecialtiesRepositories specRepos, StudentsRepositories studRepos, SubjectsRepositories subRepos) * { * _assRepos = assRepos; * _courRepos = courRepos; * _specRepos = specRepos; * _studRepos = studRepos; * _subRepos = subRepos; * }*/ public HomeController() : base() { _assRepos = new AssesmentsRepositories(db); _courRepos = new CoursesRepositories(db); _specRepos = new SpecialityRepositories(db); _studRepos = new StudentsRepositories(db); _subRepos = new SubjectsRepositories(db); }
public StudyRoomHeadController(IStudents students, ISpecialities specialities, IGroups groups) { _students = students; _specialities = specialities; _groups = groups; }
public AdminController(EfDbContext context, IStudents students, ITeachers teachers, IGroups groups, ISpecialities specialities, ILessons lessons) { _context = context; _students = students; _teachers = teachers; _groups = groups; _specialities = specialities; _lessons = lessons; }
public Form1(ICourses Courses, IMarksData MarksData, IStudents Students) { InitializeComponent(); myCourses = Courses; myMarks = MarksData; myStudent = Students; LoadFormStuff(); }
public HomeController(IStudents studentRepo, IWebHostEnvironment webHostEnvironment, IGuarantor guarantorRepo, IProgram programRepo, IProject projectRepo, IBatch batchRepo, IStudentBatch studentBatchRepo) { _student = studentRepo; _batchRepo = batchRepo; _programRepo = programRepo; _projectRepo = projectRepo; _guarantorRepo = guarantorRepo; _studentBatchRepo = studentBatchRepo; this.webHostEnvironment = webHostEnvironment; this.guarantorRepo = guarantorRepo; }
public static void SimpleJoin(ITeachers teachers, IStudents students) { var teacherStudenList = from tList in teachers.List join sList in students.List on tList.Name equals sList.HomeRoomTeacher into joinedList from sList in joinedList.DefaultIfEmpty(new Student() { Name = "-" }) select new { TeacherName = tList.Name, StudentName = sList.Name }; foreach (var row in teacherStudenList) { System.Console.WriteLine("{0}\t{1}", row.TeacherName, row.StudentName); } }
public Client(IUsers users, IStaff staff, IStudents students, IGroups groups, ILogin login, IChat chat, IDetailInfo detailInfo, IHubConfigurator hubConfigurator) { Users = users; Staff = staff; Students = students; Groups = groups; Login = login; Chat = chat; DetailInfo = detailInfo; HubConfigurator = hubConfigurator; }
public static void SimpleJoin(ITeachers teachers, IStudents students) { var teacherStudenList = from tList in teachers.List join sList in students.List on tList.Name equals sList.HomeRoomTeacher into joinedList from sList in joinedList.DefaultIfEmpty(new Student() { Name = "-" }) select new { TeacherName = tList.Name, StudentName = sList.Name }; foreach (var row in teacherStudenList) { System.Console.WriteLine("{0}\t{1}", row.TeacherName, row.StudentName); } }
static void Main(string[] args) { ChannelFactory <IStudents> factory = new ChannelFactory <IStudents>(new NetTcpBinding(), new EndpointAddress("net.tcp://localhost:8888/InputRequest")); IStudents proxy = factory.CreateChannel(); int i = 5; while (true) { if (proxy.AddStudent(++i, $"ime{i}", $"prezime{i}")) { Console.WriteLine("Student added"); } else { Console.WriteLine("Student not added"); } Thread.Sleep(5000); } }
public SetMarksController(EfDbContext context, ILessons lessonsRepo, IStudents studentsRepo) { _context = context; _lessonsRepo = lessonsRepo; _studentsRepo = studentsRepo; }
public HomeController(IStudents studentRepo, IWebHostEnvironment webHostEnvironment, IGuarantor guarantorRepo) { _student = studentRepo; this.webHostEnvironment = webHostEnvironment; this.guarantorRepo = guarantorRepo; }
public StudentsController(ILogger <StudentsModel> logger, IStudents dataRepository) { _logger = logger; _dataRepository = dataRepository; }
public StudentsController(UserManager <DbUser> userManager, EfDbContext context, IStudents studentRepository) { _context = context; _userManager = userManager; _studentRepository = studentRepository; }
public StudentsController(IStudents students) { _students = students; }
public StudentsController(AppsDBContext context, IStudents studentsv) { _context = context; _studentsv = studentsv; }
public BatchController(IBatch batchRepo, IStudentBatch studentBatchRepo, IStudents studentRepo) { _batchRepo = batchRepo; _studentBatchRepo = studentBatchRepo; _studentRepo = studentRepo; }