Exemplo n.º 1
0
        public ActionResult GetCustomerBySerial(string key, string serial)
        {
            var obj = key != Keyapi ? new CustomerItem() : _da.GetCustomerBySerial(serial);

            return(Json(obj, JsonRequestBehavior.AllowGet));
        }