public void LoadMenu(string UserdID) { ParkFacilAdmEntities db = new ParkFacilAdmEntities(); IEnumerable <Menu> loadMenu = db.Database.SqlQuery <Menu>("SP_Load_Menu @UserID ='" + UserdID + "'").ToList(); }
public void LoadMenu(string UserdID) { ParkFacilAdmEntities db = new ParkFacilAdmEntities(); IEnumerable <Menu> loadMenu = db.Database.SqlQuery <Menu>("SP_Load_Menu @UserID ='" + UserdID + "'").ToList(); }