public async Task<JsonValue> UpdateUser(string name, string role, int number, string position, int teamId) { DB_Update dbUpdate = new DB_Update(this); return await dbUpdate.UpdateUser(name, role, number, position, teamId); }
/** * Updates a user with the given userId with the given parameters. **/ public async Task<JsonValue> UpdateUser(string name, string userType) { DB_Update dbUpdate = new DB_Update(this); return await dbUpdate.UpdateUser(name, userType); }
public async Task<JsonValue> updateEvent(int idEvent, string name, string location, string start, string end, string info, int teamId) { DB_Update dbUpdate = new DB_Update(this); return await dbUpdate.updateEvent(idEvent, name, location, start, end, info, teamId); }
public async Task<JsonValue> inviteUserToEvent(int idEvent, string toInvite) { DB_Update dbUpdate = new DB_Update(this); return await dbUpdate.inviteUserToEvent(idEvent, toInvite); }
public async Task<JsonValue> updateEventState(int idEvent, string state) { DB_Update dbUpdate = new DB_Update(this); return await dbUpdate.updateEventState(idEvent, state).ConfigureAwait(continueOnCapturedContext:false); }
/** * Updates a user with the given userId with the given parameters. **/ public async Task<bool> UpdateUser(int idUser, string name, string role, string password, int number, string position) { DB_Update dbUpdate = new DB_Update(this); return await dbUpdate.UpdateUser(host, idUser, name, role, password, number, position); }