public GiraUoW(GiraDbContext context) { if (context == null) { throw new ArgumentNullException(nameof(context)); } _context = context; }
private void Dispose(bool disposing) { if (!disposing || _context == null) { return; } _context.Dispose(); _context = null; }