public async Task Delete_LanguageAsync() { //Act var u = await languagesService.Create(language); var u1 = await languagesService.Delete(u.id); var count = (await languagesService.GetAll())?.Count(); //Assert Assert.AreEqual(0, count); Assert.AreNotEqual(0, u1.id); }