コード例 #1
0
		/**
		 * 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);
		}
コード例 #2
0
		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);
		}
コード例 #3
0
		/**
		 * 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);
		}