public void NUnit_AllowLimitOvertime_Domain_GetById() { Att_AllowLimitOvertimeServices service = new Att_AllowLimitOvertimeServices(); var model = new Att_AllowLimitOvertime { Id = 5 }; var result = service.Get(model.Id) as Att_AllowLimitOvertime; NUnit.Framework.Assert.IsNotNull(result); Console.Write("SearchResult: " + result.Id + " | " + result.ProfileID + " | " + result.LevelAllowLimit ); }
public void NUnit_AllowLimitOvertime_Domain_Get() { Att_AllowLimitOvertimeServices service = new Att_AllowLimitOvertimeServices(); IQueryable<Att_AllowLimitOvertime> repo = service.Get(); Console.Write("Total Record: " + repo.Count()); }