public DeleteTypeUse(IDeleteByName delete, ITypeUseReadOnlyRepository read) { this.delete = delete; this.read = read; }
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 CreateTypeUse(ICreate <ISpecification> create, ITypeUseReadOnlyRepository read) { this.create = create; this.read = read; }
public TypeUseController(Startup.DeleteByNameResolver deleteAccesor, ITypeUseReadOnlyRepository readTypeUses, ICreate <ISpecification> createSpecification) { delete = new DeleteTypeUse(deleteAccesor(DeletesEmail.Client), readTypeUses); create = new CreateTypeUse(createSpecification, readTypeUses); read = new ReadTypeUse(readTypeUses); }
public ReadTypeUse(ITypeUseReadOnlyRepository read) { this.read = read; }
public ComputerRequest(string use, decimal?budget, Importance importance, ITypeUseReadOnlyRepository repo) { Specification = repo.GetByUse(use); Budget = budget; Importance = importance; }