コード例 #1
0
 public ActionResult AddDraft(Message message)
 {
     message.MessageDate = DateTime.Parse(DateTime.Now.ToShortDateString().ToString());
     messageManager.AddDraft(message);
     return(RedirectToAction("Inbox"));
 }