public List <AttendanceModel> GetAttendanceDetailsData() { List <AttendanceModel> tsdata = new List <AttendanceModel>(); JArray result = odooConnector.odooMethodCall_getattendance_details <JArray>("hr.attendance", "get_attendance_data"); tsdata = result.ToObject <List <AttendanceModel> >(); return(tsdata); }