/// <summary> ///A test for GetAll ///</summary> public void GetAllTestHelper <T, V>() { ServiceBase <T, V> target = CreateServiceBase <T, V>(); ICollection actual; actual = target.GetAll(); long count = target.GetCount(new FilterExpression()); Assert.AreEqual(count, actual.Count); }
public IEnumerable <TEntity> GetAll() { return(_serviceBase.GetAll()); }
public ICollection <TModel> FetchAll() { var entities = ServiceBase.GetAll(); return(this.Mapper.Map <ICollection <TModel> >(entities.ToList())); }