public DeveloperFacade() { this.devRep = StructureMapContainer.GetContainer().GetInstance <IDeveloperRepository>(); this.taskRep = StructureMapContainer.GetContainer().GetInstance <ITaskRepository>(); }
public ClientFacade() { this.clientRepo = StructureMapContainer.GetContainer().GetInstance <IClientRepository>(); this.customerRepo = StructureMapContainer.GetContainer().GetInstance <ICustomerRepository>(); this.projectRepo = StructureMapContainer.GetContainer().GetInstance <IProjectRepository>(); }
public CustomerFacade(int clientId) : base(clientId) { customerRepository = StructureMapContainer.GetContainer().GetInstance <ICustomerRepository>(); projectRepository = StructureMapContainer.GetContainer().GetInstance <IProjectRepository>(); taskRepository = StructureMapContainer.GetContainer().GetInstance <ITaskRepository>(); }