public static void Delete(int ID) { PollDataMapper objCaller = new PollDataMapper(); objCaller.Delete(ID); }
public static IList<Poll> GetAll() { PollDataMapper objCaller = new PollDataMapper(); return objCaller.GetAll(); }
public static void Update(Poll obj) { PollDataMapper objCaller = new PollDataMapper(); objCaller.Update(obj); }
public static Poll GetByID(int ID) { PollDataMapper objCaller = new PollDataMapper(); return objCaller.GetByID(ID); }
public static int Add(Poll obj) { PollDataMapper objCaller = new PollDataMapper(); return objCaller.Add(obj); }