public ActionResult GetByCustomer(string key, int customerId) { var obj = key != Keyapi ? new List <AgencyItem>() : _da.GetByCustomer(customerId); return(Json(obj, JsonRequestBehavior.AllowGet)); }