public static async Task <string> GetDecodedUserPassword(this ITable <UserEntity> users, int userId) { return(await users.Where(u => u.Id == userId).Select(u => PasswordEncoder.Decrypt(u.Password)).FirstOrDefaultAsync()); }