public ActionResult InsertRemarks(string TRNO, string Activityid, string Remarks, string Status, string AssetsId)
        {
            string Transaction = VMMAssignController.Base64Decode(TRNO);

            string empty = string.Empty;

            bool flag = new Transaction().Insert_Remarks(Transaction, Activityid, Remarks, Status, AssetsId);



            return((ActionResult)this.Json((object)flag, JsonRequestBehavior.AllowGet));
        }
        public ActionResult ShowTransactionExpandView_get(string TRNO)
        {
            string Transaction = VMMAssignController.Base64Decode(TRNO);
            var    userId      = TempData.Peek("UserID");
            var    userType    = TempData.Peek("UserType");
            string empty       = string.Empty;

            this.cmdObj             = new SqlCommand();
            this.cmdObj.CommandText = "[GetTransactionDetailsPicture]";
            this.cmdObj.Parameters.Add(new SqlParameter("@transaction", SqlDbType.NVarChar)).Value = (object)Transaction;
            this.cmdObj.Parameters.Add(new SqlParameter("@CusUserName", SqlDbType.NVarChar)).Value = userId;
            this.cmdObj.Parameters.Add(new SqlParameter("@userType", SqlDbType.NVarChar)).Value    = userType;
            DataTable dataTable = new DataTable();

            return((ActionResult)this.Json((object)this.DataTableToJSONWithJavaScriptSerializer(this.du.GetDataTableWithProc(this.cmdObj)), JsonRequestBehavior.AllowGet));
        }
        public ActionResult ShowHealthImage(string TRNO)
        {
            string targetPath = Server.MapPath("~/VMMdocs/");


            string destFile = System.IO.Path.Combine(targetPath, "/VMMS1001/Assets1/1/shivpic.jpg");

            string Transaction = VMMAssignController.Base64Decode(TRNO);

            string empty = string.Empty;

            this.cmdObj             = new SqlCommand();
            this.cmdObj.CommandText = "[GetHealthImages]";
            this.cmdObj.Parameters.Add(new SqlParameter("@transaction", SqlDbType.NVarChar)).Value = (object)Transaction;

            DataTable dataTable = new DataTable();

            return((ActionResult)this.Json((object)this.DataTableToJSONWithJavaScriptSerializer(this.du.GetDataTableWithProc(this.cmdObj)), JsonRequestBehavior.AllowGet));
        }