Beispiel #1
0
        private void Dispose(bool disposing)
        {
            if (!disposing)
            {
                return;
            }
            if (_context == null)
            {
                return;
            }

            _context.Dispose();
            _context = null;
        }
Beispiel #2
0
 public UnitOfWork(OmorfiasContext context)
 {
     _context = context;
 }