public ActionResult Detail(long id) { Result <Msg_Email> result = new Result <Msg_Email>(); using (MessageClientProxy proxy = new MessageClientProxy(ProxyEx(Request))) { result = proxy.GetEmailModel(id); } return(View(result.Data)); }