Пример #1
0
 public SalesViewModel(IProductEndpoint productEndpoint, IConfigHelper configHelper,
                       ISaleEndpoint saleEndpoint, IMapper mapper, StatusInfoViewModel status, IWindowManager window)
 {
     _productEndpoint = productEndpoint;
     _saleEndpoint    = saleEndpoint;
     _configHelper    = configHelper;
     _mapper          = mapper;
     _status          = status;
     _window          = window;
 }
Пример #2
0
 public UserDisplayViewModel(StatusInfoViewModel status, IWindowManager window, IUserEndpoint userEndpoint)
 {
     _status       = status;
     _window       = window;
     _userEndpoint = userEndpoint;
 }