public async Task <User> GetByNicknameAsync(string nickname) { using (var database = new UserDatabase()) { return(await database.GetByNicknameAsync(nickname)); } }