public List<CaseStudy> UpdateCaseStudy(CaseStudy sTemperatureData) { AdministrationDataBase aDB = new AdministrationDataBase(); //aDB.caseBTFunction(); //if (int.Parse(aDB._StaffhaveRoles[2]) == 1) //{ return aDB.UpdateCaseStudy(sTemperatureData); //} //else //{ // return null; //} }