public Institute GetInstituteCard(Options opt, InstituteEndPoint ep) { opt.Listing_type = "inst_by_id"; var others = ep.GetInstitutes(opt, 0, 1); return(others[0]); }
public Home(Options opt) { var app = new MainApp(); var inst = new InstituteEndPoint(); var doc = new DoctorEndPoint(); this.institutes = inst.GetInstitutes(opt, 0, 6); this.doctors = doc.GetDoctors(opt, 0, 6); this.cities = app.Set_cities(opt.Lang, opt.Cities); this.departments = app.GetDepartments(opt); }
public List <Institute> GetSlides(Options opt, InstituteEndPoint ep) { var others = ep.GetInstitutes(opt, 0, 6); return(others); }