/** * Provides you with list of all events for a specific user and state. * If state is null all states will be selected. **/ public async Task<List<MySqlEvent>> SelectEventsForUser(int idUser, string state) { DB_SelectEvent dbSelectEvent = new DB_SelectEvent(this); return await dbSelectEvent.SelectEventsForUser(host, idUser, state).ConfigureAwait(continueOnCapturedContext:false); }