public async Task <bool> VerifyAdminUserAsync(AdminUser adminUser) { var adminOnDbResponse = await this.adminContainer.ReadItemAsync <AdminUser>(adminUser.GetUserId(), new PartitionKey(adminUser.Username)); return(adminOnDbResponse.Resource.Password.SequenceEqual(adminUser.Password)); }