public JsonResult GetProcedureID(string name, string schemaName) { IGumruk iGumruk = new BSGumruk(); SQLProcedures proc = iGumruk.GetProcedureByNameSchemaName(name, schemaName); return(Json(proc, JsonRequestBehavior.AllowGet)); }