/// <summary> /// Call the Api Key repository to update an api key record /// </summary> /// <param name="_db">database</param> /// <param name="key">api key</param> /// <returns>The updated api key</returns> public static ApiKey UpdateKey(DatabaseContext _db, ApiKey key) { return(ApiKeyRepository.UpdateKey(_db, key)); }