Ejemplo n.º 1
0
 public DeleteTypeUse(IDeleteByName delete, ITypeUseReadOnlyRepository read)
 {
     this.delete = delete;
     this.read   = read;
 }
Ejemplo n.º 2
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);
 }
Ejemplo n.º 3
0
 public CreateTypeUse(ICreate <ISpecification> create, ITypeUseReadOnlyRepository read)
 {
     this.create = create;
     this.read   = read;
 }
Ejemplo n.º 4
0
 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);
 }
Ejemplo n.º 5
0
 public ReadTypeUse(ITypeUseReadOnlyRepository read)
 {
     this.read = read;
 }
Ejemplo n.º 6
0
 public ComputerRequest(string use, decimal?budget, Importance importance, ITypeUseReadOnlyRepository repo)
 {
     Specification = repo.GetByUse(use);
     Budget        = budget;
     Importance    = importance;
 }