[HttpPost]//Gets the todo Lists.
 public JsonResult AllBusinessHoursList(string name, int jtStartIndex = 0, int jtPageSize = 0, string jtSorting = null)
 {
     try
     {
         var businessHoursCount  = _businessHours.GetBusinessHoursCount(name);
         var listofbusinessHours = _businessHours.GetBusinessList(name, jtStartIndex, jtPageSize, jtSorting);
         return(Json(new { Result = "OK", Records = listofbusinessHours, TotalRecordCount = businessHoursCount }));
     }
     catch (Exception)
     {
         throw;
     }
 }