public DocumentController(IDmsTransactionalUnitOfWork unitOfWork)
 {
     this.unitOfWork          = unitOfWork;
     documentOperations       = new DocumentOperations(unitOfWork);
     documentTransactions     = new DocumentTransactions(unitOfWork);
     this.credentialValidator = CredentialValidationFactory.CreateDefaultInstance();
 }
 public CustomerOrderController(INorthWindTransactionalUnitOfWork unitOfWork)
 {
     this.unitOfWork          = unitOfWork;
     orderOperations          = new OrderOperations(unitOfWork);
     this.credentialValidator = CredentialValidationFactory.CreateDefaultInstance();
 }