Пример #1
0
 public ComputerController(IDirectorComputer director, ITypeUseReadOnlyRepository typeRepo, Startup.DeleteByIdResolver deleteAccesor, IComputerReadOnlyRepository read)
 {
     this.director = director;
     this.typeRepo = typeRepo;
     delete        = new DeleteComputer(deleteAccesor(WebApi.DeletesID.Computer), read);
 }
        public void ThenTheUserDeletesTheComputer()
        {
            DeleteComputer deleteComputer = new DeleteComputer(driver);

            deleteComputer.DeleteExistingComputer();
        }