public Window.Window GetWindowByName(string name) { var fetcher = _container.Resolve <Window.IFetcher>(); var filter = _container.Resolve <Window.IFilter>(); var repository = new Window.Repository(fetcher, filter); return(repository.FindByName(name)); }
public IReadOnlyList <Window.Window> GetWindows() { var fetcher = _container.Resolve <Window.IFetcher>(); var filter = _container.Resolve <Window.IFilter>(); var repository = new Window.Repository(fetcher, filter); return(repository.GetAll()); }