//helper private DataAccess getDA() { GenericCompany company = new GenericCompany("12345");//load default company CUser user = new CUser(company, "*****@*****.**"); DataAccess da = new DataAccess(company, user); return(da); }
protected void Page_Load(object sender, EventArgs e) { c = new GenericCompany("12345"); da = new DataAccess(c); GetUserByEmail(); //1 GetUserById(); //2 GetSubscription(); //3 getSupportSignupLink(); //4 createCase(); //12 PrintInitialTrainingLinks(); //5 PrintSearchedTrainingLinks(); //6 SearchFromTop10(); //7 SearchFromSFKB(); //8 ServiceOfferings(); //9 PrintExpertTimeSlots(); //10 PrintTrainingTimeSlots(); //11 }