/// <summary>
 /// Method to bind the slitting grid
 /// </summary>
 /// <param name="request">DataSource Request</param>
 /// <param name="dispatchId">DispatchId</param>
 /// <returns></returns>
 public IActionResult KendoReadSlittingByDispatchId([DataSourceRequest] DataSourceRequest request, long?dispatchId = null)
 {
     if (!request.Sorts.Any())
     {
         request.Sorts.Add(new SortDescriptor("SlittingRollNo", ListSortDirection.Ascending));
     }
     return(Json(CustomRepository.GetInvoiceSlittingList(dispatchId).ToDataSourceResult(request)));
 }