public void NUnit_HDTJob_Domain_GetById() { string status = string.Empty; Hre_HDTJobServices service = new Hre_HDTJobServices(); var model = new Hre_HDTJob { Id =5 }; var result = service.GetById<Hre_HDTJobEntity>(model.Id, ref status) as Hre_HDTJobEntity; NUnit.Framework.Assert.IsNotNull(result); Console.Write("SearchResult: " + result.Id + " | " + result.ProfileID + " | " + result.DateFrom + " | " + result.DateTo + " | " + result.HDTType + " | " + result.Description ); }
public void NUnit_HDTJob_Domain_GetById() { string status = string.Empty; Hre_HDTJobServices service = new Hre_HDTJobServices(); var model = new Hre_HDTJob { Id = 5 }; var result = service.GetById <Hre_HDTJobEntity>(model.Id, ref status) as Hre_HDTJobEntity; NUnit.Framework.Assert.IsNotNull(result); Console.Write("SearchResult: " + result.Id + " | " + result.ProfileID + " | " + result.DateFrom + " | " + result.DateTo + " | " + result.HDTType + " | " + result.Description ); }