public MainViewModel() { instance = this; this.Apiservice = new Apiservice(); GetFromDataBase().GetAwaiter(); SearchString = string.Empty; }
public EditProductViewModel(Product product) { this.product = product; apiservice = new Apiservice(); IsEnabled = true; this.ImageSource = product.ImageFullPath; }
public AddProductViewModel() { apiservice = new Apiservice(); IsEnabled = true; this.ImageSource = "Noproduct"; }
public ProductsViewModel() { instance = this; this.apiService = new Apiservice(); this.LoadProducts(); }
public ProducItemViewModel() { apiservice = new Apiservice(); }
public LoginViewModel() { this.apiservice = new Apiservice(); this.IsEnabled = true; this.IsRemembered = true; }