// GET: Companys/Details/5
        public ActionResult Process(string id)
        {
            Manager man = new Manager();
            var     q   = man.QrGenerate(id);
            string  w   = q.ToString();

            ViewBag.message = w;
            ComIdentifyManager Comfind = new ComIdentifyManager();
            var e = Comfind.Identify(id);

            ViewBag.msg = e;
            ComManager T = new ComManager();
            var        v = T.company(id);

            ViewBag.k  = v;
            ViewBag.Gp = id;

            using (MemoryStream ms = new MemoryStream())
            {
                QRCodeGenerator qr         = new QRCodeGenerator();
                QRCodeData      qrCodeData = qr.CreateQrCode(w, QRCodeGenerator.ECCLevel.Q);
                QRCode          code       = new QRCode(qrCodeData);

                using (Bitmap bitMap = code.GetGraphic(20))
                {
                    bitMap.Save(ms, ImageFormat.Png);
                    ViewBag.QRCodeImage = "data:image/png;base64," + Convert.ToBase64String(ms.ToArray());
                }
            }
            return(View());
        }
        public ActionResult Identity(string id)
        {
            ComIdentifyManager Comfind = new ComIdentifyManager();
            var e = Comfind.Identify(id);

            ViewBag.e = e;
            return(View());
        }