public AddressDetailViewModel(AddressDto operation) { AddressServiceInstance = ClientServiceLocator.Instance().ContractLocator.AddressServices; Model = new AddressDetailModel { Address = new AddressDto() }; Model.Address = operation; View = new AddressDetailView { DataContext = this }; }
public AddressDetailViewModel(AddressDto operation) { AddressServiceAdapter = new ServiceAdapter <IAddressService>(); Model = new AddressDetailModel { Address = new AddressDto() }; Model.Address = operation; View = new AddressDetailView { DataContext = this }; }