public ActionResult GetSupplierByCode(string code)
        {
            SupplierViewModel model = SupplierDataAccess.GetByCode(code);

            if (model != null)
            {
                return(Json(new { success = true, data = model }, JsonRequestBehavior.AllowGet));
            }
            else
            {
                return(Json(new { success = false }, JsonRequestBehavior.AllowGet));
            }
        }