public void Remove(int id) { foreach (Award aw in awardsDAO.GetList()) { if (id == aw.AwardId) { awardsDAO.Remove(aw); } } }
public List <Award> GetList() { return(awardsDAO.GetList()); }
public IEnumerable <Award> GetList() { return(awardsDAO.GetList()); }