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