public void NUnit_Relatives_Domain_GetById() { string status = string.Empty; Hre_RelativesServices service = new Hre_RelativesServices(); var model = new Hre_Relatives { Id = 10 }; var result = service.GetById<Hre_RelativesEntity>(model.Id, ref status) as Hre_RelativesEntity; NUnit.Framework.Assert.IsNotNull(result); Console.Write("SearchResult: " + result.Id + " | " + result.ProfileID + " | " + result.RelativeName ); }
public void NUnit_Relatives_Domain_GetById() { string status = string.Empty; Hre_RelativesServices service = new Hre_RelativesServices(); var model = new Hre_Relatives { Id = 10 }; var result = service.GetById <Hre_RelativesEntity>(model.Id, ref status) as Hre_RelativesEntity; NUnit.Framework.Assert.IsNotNull(result); Console.Write("SearchResult: " + result.Id + " | " + result.ProfileID + " | " + result.RelativeName ); }