public async Task <ActionResult> Edit(int id = 0) { var manager = new NoticeManager(User); var notice = new Notice(); if (id > 0) { notice = await manager.GetNoticeAsync(id); } return(View(notice)); }