/// <summary> /// Call the Api Key repository to create a new api key record /// </summary> /// <param name="_db">database</param> /// <param name="key">api key</param> /// <returns>The created api key</returns> public static ApiKey CreateKey(DatabaseContext _db, ApiKey key) { return(ApiKeyRepository.CreateNewKey(_db, key)); }