public EditingNewImageAttachmentViewModel(AddTaskOrEventViewModel parent, IFile tempFile) : base(parent)
 {
     TempFile        = tempFile;
     ImageAttachment = new ImageAttachmentViewModel(TempFile);
 }
 public EditingExistingImageAttachmentViewModel(AddTaskOrEventViewModel parent, string imageName) : base(parent)
 {
     ImageAttachment = new ImageAttachmentViewModel(imageName);
 }