public IQueryable <Religion> FindBy(System.Linq.Expressions.Expression <Func <Religion, bool> > predicate) { ReligionDAL dalObject = new ReligionDAL(); IQueryable <Religion> results = dalObject.FindBy(predicate); return(results); }
public IQueryable <Religion> GetAll() { ReligionDAL dalObject = new ReligionDAL(); IQueryable <Religion> results = dalObject.GetAll(); return(results); }
public void Delete(int id) { ReligionDAL dalObject = new ReligionDAL(); dalObject.Delete(id); }
public void Edit(Religion entity) { ReligionDAL dalObject = new ReligionDAL(); dalObject.Edit(entity); }
public void Add(Religion entity) { ReligionDAL dalObject = new ReligionDAL(); dalObject.Add(entity); }