public void NUnit_Discipline_Domain_Remove() { Hre_DisciplineServices service = new Hre_DisciplineServices(); int rs = 0; var model = new Hre_Discipline { Id = 10 }; string result = service.Remove <Hre_DisciplineEntity>(model.Id); if (result != string.Empty) { rs += 1; Console.WriteLine("Process Success >>> Remove >>> " + model.Id); } }
public void NUnit_Discipline_Domain_Remove() { Hre_DisciplineServices service = new Hre_DisciplineServices(); int rs = 0; var model = new Hre_Discipline { Id = 10 }; string result = service.Remove<Hre_DisciplineEntity>(model.Id); if (result != string.Empty) { rs += 1; Console.WriteLine("Process Success >>> Remove >>> " + model.Id); } }
public void RemoveDiscipline() { const int id = 2; var service = new Hre_DisciplineServices(); var repo = service.Remove<Hre_DisciplineEntity>(id); Console.Write("Result: " + repo); }