public ActionResult GetTimeSheetDetailsData(int fortnightType, int fortnightDayNumber)
        {
            TimeSheetDetailsGridParamViewModel paramModel = new TimeSheetDetailsGridParamViewModel();
            paramModel.FortnightType = fortnightType;
            paramModel.FortnightDayNumber = fortnightDayNumber;

            var jqGridRows = GetJQGridRowsDataListDemo(paramModel);

            //No of total records
            //int totalRecords = (int)viewModels.Count;
            int totalRecords = 0;
            //Calculate total no of page
            //int totalPages = (int)Math.Ceiling((float)totalRecords / (float)Rows);
            int totalPages = 0;
            var rows = jqGridRows;

            var getData = new
            {
                total = totalPages,
                page = 1,
                records = totalRecords,
                rows = rows//,
                //userdata = userData
                //userdata = userDatas
            };
            return Json(getData);
        }
        private JQGridRowsViewModel[] GetJQGridRowsDataListDemo(TimeSheetDetailsGridParamViewModel paramModel)
        {
            JQGridRowsViewModel[] rows = new JQGridRowsViewModel[] { };

            int fortnightType = 1;
            int fortnightDayNumber = 15;

            if (fortnightType == 1 && fortnightDayNumber == 15)
            {
                rows = GetJQGridRowsForFirstFortnightDataDemo();
            }
            else if (fortnightType == 2 && fortnightDayNumber == 16)
            {

            }
            else if (fortnightType == 2 && fortnightDayNumber == 15)
            {

            }
            else if (fortnightType == 2 && fortnightDayNumber == 14)
            {

            }
            else if (fortnightType == 2 && fortnightDayNumber == 13)
            {

            }

            return rows;
        }