/** * 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> 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<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); }