public PostBodyViewModel GetInstance()
 {
     if (instance == null)
     {
         instance = new PostBodyViewModel();
     }
     return(instance);
 }
 public PostBodyViewModel(PostBodyEntity src)
 {
     instance           = new PostBodyViewModel();
     instance.Title     = src.Title;
     instance.Publisher = src.Publisher;
     instance.Time      = src.Time;
     instance.Views     = src.Views;
     if (src.Attachment != null)
     {
         instance.Attachment = new ObservableCollection <Attachments>(src.Attachment);
     }
     instance.Bodys = src.Bodys;
 }