protected void Dispose(bool disposing) { if (disposing) { if (_ctx != null) { _ctx.Dispose(); _ctx = null; } } }
public GymLogRepository(GymLogContext ctx) { _ctx = ctx; }