Exemplo n.º 1
0
        public static NoticeBoardIndexViewModel ToNoticeBoardIndexViewModel(NoticeBoard nb)
        {
            var vm = new NoticeBoardIndexViewModel
            {
                Id          = nb.NoticeBoardId,
                Title       = nb.Title,
                Description = nb.Description
            };

            return(vm);
        }
Exemplo n.º 2
0
 public static NoticeBoard From(NoticeBoardIndexViewModel vm)
 {
     throw new NotImplementedException();
 }