public ContractSellController( IContractSellRepository _ContractSell , IUserRepository _user ) { ContractSellRepository = _ContractSell; userRepository = _user; }
public ContractController( IContractRepository _Contract , IUserRepository _user , ICustomerRepository customer , IInfoPartyARepository infoParty , IContractLeaseRepository contractLease , IContractSellRepository contractSell , IContactRepository contact , IProcessPaymentRepository processPayment , IDocumentFieldRepository documentField , IDocumentAttributeRepository documentAttribute ) { ContractRepository = _Contract; userRepository = _user; customerRepository = customer; infoPartyARepository = infoParty; contractLeaseRepository = contractLease; contractSellRepository = contractSell; contactRepository = contact; processPaymentRepository = processPayment; DocumentAttributeRepository = documentAttribute; DocumentFieldRepository = documentField; }