Exemple #1
0
        public ActionResult SetVOC(VOCust vc)
        {
            Session["VOC"] = vc.Voc;
            if (vc.VocDtlId == null)
            {
                vc.VocDtlId = "0";
            }
            bool res = objPartnerBAL.SetVOC(vc);

            if (res)
            {
                return(Json(new { success = true, responseText = "The attached file is not supported." }, JsonRequestBehavior.AllowGet));
            }
            else
            {
                return(Json(new { success = false, responseText = "The attached file is not supported." }, JsonRequestBehavior.AllowGet));
            }
        }
Exemple #2
0
 public bool SetVOC(VOCust vc)
 {
     return(objInfPub.setVOC(vc));
 }