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

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