/// <summary> /// If disposing, calls dispose on the _context. Always nulls out the _context /// </summary> /// <param name="disposing"></param> protected virtual void Dispose(bool disposing) { if (disposing && _context != null) { _context.Dispose(); } _disposed = true; _context = null; }
public UserStore(AltaskDbContext context) { _context = context; }