/*public bool Delete<T>(IList<int> ids) where T : BaseModel * { * IList<T> entityList = new List<T>(); * foreach (int id in ids) * { * T entity = Activator.CreateInstance<T>(); * entity.Id = id; * entityList.Add(entity); * } * return _GenericDAL.Delete<T>(entityList); * }*/ public IList <T> FindAllWithoutPaging <T>(System.Linq.Expressions.Expression <Func <T, bool> > conditions = null) where T : BaseModel { return(_GenericDAL.FindAllWithoutPaging <T>(conditions)); }