public void TestDeleteService() { ApplicationSeeder.Seed(); var bo = new ServiceBO(); var resList = bo.List(); var total = resList.Result.Count; var resDelete = bo.Delete(resList.Result.First().Id); var list = bo.ListUndeleted(); Assert.IsTrue(resDelete.Success && resList.Success && list.Result.Count == (total - 1)); }