public static AmendedNoticeViewModel ToAmendedNoticeViewModel(Notice notice) { AmendedNoticeViewModel vm = new AmendedNoticeViewModel { Id = notice.NoticeId, Title = notice.Title, NoticeBoardId = notice.NoticeBoardId, Description = notice.Description, DateCreated = notice.DateCreated, ModeratorComment = notice.ModeratorComment, DateReviewed = notice.DateReviewed, NoticeBoardName = notice.NoticeBoard.Title }; return(vm); }
public static Notice From(AmendedNoticeViewModel vm) { throw new NotImplementedException(); }