//Created by Vivek on 18.07.2013 /// <summary> /// Students the search. /// </summary> /// <returns></returns> public static StudentDSR StudentSearch() { var searchList = new List <StudentDSR>(); var search = new StudentDSR { roll_number = 2, student_name = "Vivek", standard = "X", result = 'P', }; searchList = studentDataService.GetBySearch(search); return(search); }
//Created by Vivek on 18.07.2013 /// <summary> /// Gets the by search. /// </summary> /// <param name="studentDSR">The student DSR.</param> /// <returns>StudentDSRList</returns> public List <StudentDSR> GetBySearch(StudentDSR studentDSR) { return(studentDataService.GetBySearch(studentDSR)); }