public UpdateShopVM(UpdateShopUC updateShopUC) { CurrentModel = new UpdateShopModel(); CurrentModel.MyShop = updateShopUC.shop; this.UpdateShopUC = updateShopUC; updateShopUC.Password.Password = CurrentModel.MyShop.Password; updateShopUC.ConfirmPassword.Password = CurrentModel.MyShop.Password; this.MyCommand = new SpecialCommand(); MyCommand.callComplete += UpdateShop; ImageCommand = new Command(); ImageCommand.callComplete += OpenFileCommand; }
public ActionResult <List <string> > Put(UpdateShopModel model) { _updateShop.Execute(model); return(Ok()); }