Beispiel #1
0
        public AuditController()
        {
            UnitOfWork _unitOfWork = new UnitOfWork();

            this._IAuditRepository                        = new AuditRepository(_unitOfWork);
            this._IAuditSubjectRepository                 = new AuditSubjectRepository(_unitOfWork);
            this._IAuditSubjectReviewRepository           = new AuditSubjectReviewRepository(_unitOfWork);
            this._IAuditSubjectQuestionResponseRepository = new AuditSubjectQuestionResponseRepository(_unitOfWork);
        }
Beispiel #2
0
 public AuditRepository(Angular2_AspDotNet.Data.UnitOfWork.UnitOfWork unitOfWork) : base(unitOfWork.Context)
 {
     this._unitOfWork = unitOfWork;
     _IAuditSubjectRepository = new AuditSubjectRepository(_unitOfWork);
 }