public void CleanUp()
 {
     _repo = null;
     _context.Dispose();
 }
Example #2
0
        public BaseController(ISiswaRepository _repository)

        {
            this.repository = _repository;
        }
 public void Init()
 {
     _log     = LogManager.GetLogger(typeof(SiswaRepositoryUnitTest));
     _context = new SQLiteContext();
     _repo    = new SiswaRepository(_context, _log);
 }