public CashCollectionPageViewModel(INavigation navigation) { _INavigation = navigation; RetailerMaster_Class_Data = new RetailerMaster_Class(); _IAllDataServices = new AllDataServices(); GetContectCommand = new Command(async() => await GetContectAsync()); CashCollection_Class_Data = new CashCollection_Class(); SendOTPCommand = new Command(async() => await SendOTP()); SaveCommand = new Command(async() => await Save()); }
public RetailerOrderPageViewModel(INavigation navigation) { _navigation = navigation; RetailerMaster_Class_Data = new RetailerMaster_Class(); IAllDataServices_Data = new AllDataServices(); // RetailerOrder_Class_Data = new RetailerOrder_Class(); // Employee_OrderGenerate_Class_Data = new Employee_OrderGenerate_Class(); ArticleList = new ObservableCollection <ArticleMaster_Class>(); GetContectCommand = new Command(async() => await GetContectAsync()); AddCommand = new Command(async() => await Add()); // CancelCommand = new Command(async () => await CancelTask()); SaveCommand = new Command(async() => await Save()); getlistAsync(); }
public RetailerRegistrationViewModel(INavigation navigation) { _INavigation = navigation; RetailerMaster_Class_Data = new RetailerMaster_Class(); MultipleContect_Class_Data = new MultipleContect_Class(); Retailer_Secondar_Image = new ObservableCollection <MultipleImage_Class>(); Retailer_Form_Image = new ObservableCollection <MultipleImage_Class>(); Secondary_Mobile_No = new ObservableCollection <MultipleContect_Class>() { new MultipleContect_Class { Contect_No = "" } }; _IImageResize = new ImageResize(); SelectRetailerSinglePicCommand = new Command(async() => await SelectRetailerSinglePic()); SelectRetailerMultiplePicCommand = new Command(async() => await SelectRetailerMultiplePic()); SelectRetailerAharPicCommand = new Command(async() => await SelectRetailerAharPic()); SelectRetailerMultipleFormPicCommand = new Command(async() => await SelectRetailerMultipleFormPic()); SaveCommand = new Command(async() => await SaveData()); _IAllDataServices = new AllDataServices(); GetStateAsync(); }