public void OnAddWhore() { var wnd = _windowsCreator.CreateReflectionWindow(new W***e()); if (wnd.ShowDialog() == true) { _dbContext.AddWhore((W***e)wnd.GetEntity()); UpdateView(); } }