public ActionResult Message() { MessageBoardEntities1 db = new MessageBoardEntities1(); var a = db.message.Where(d => d.ID > 0); return(View(a.ToList())); }