// ctor public EidtMasjeedViewModel(MasjeedModel masjeed) { // Property Masjeed = masjeed; ValidationRules = new MasjeedValidator(); // Command PutCommand = new Command(Put); }
// ctor public AddMasjeedViewModel() { // Property Masjeed = new MasjeedModel(); ValidationRules = new MasjeedValidator(); // Command PostCommand = new Command(Post); AddLocationCommand = new Command(AddLocation); }