Esempio n. 1
0
        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));
        }