Beispiel #1
0
        public ActionResult EditAttachment(int?id, int?attachmentId)
        {
            var model      = new CreateEditAttachmentViewModel();
            var attachment = bugTrackerHelper.GetAttachmentById(attachmentId.Value);

            model = Mapper.Map <CreateEditAttachmentViewModel>(attachment);

            return(View(model));
        }