public JsonResult GetDocumentDetails(int?DocCode)
        {
            DataTable dt = new DataTable();

            var result = objdb.GetDocumentMaster(DocCode);

            return(Json(result));
        }