// ctor public AddAnonymousChildViewModel() { // Validator AnonymousChildValidator = new AnonymousChildValidator(); // Property AnonymousChild = new AnonymousChildModel(); // Command PostCommand = new Command(Post); }
public EditAnonymousChildViewModel(AnonymousChildModel anonymousChild) { // Validator AnonymousChildValidator = new AnonymousChildValidator(); // Property AnonymousChild = anonymousChild; // Command PutCommand = new Command(Put); }
// ctor public AnonymousChildViewModel() { // Property AnonymousChild = new ObservableCollection <AnonymousChildModel>(); SelectedAnonymousChild = new AnonymousChildModel(); // Command GoToPostPageCommand = new Command(GoToPostPage); GoToPutPageCommand = new Command(GoToPutPage); DeleteCommand = new Command(Delete); SaveAsPDFCommand = new Command(SaveAsPDF); PullRefreshCommand = new Command(Refresh); }