Ejemplo n.º 1
0
        public Award AddAward(string title)
        {
            Award award = new Award(Guid.NewGuid(), title);

            if (daoAwards.AddAward(award))
            {
                return(award);
            }

            return(null);
        }
Ejemplo n.º 2
0
        public Award AddAward(string title, string emblempath = null)
        {
            Award award = new Award(Guid.NewGuid(), title, emblempath);

            if (daoAwards.AddAward(award))
            {
                return(award);
            }

            return(null);
        }
 public void AddAward(string title, string description)
 {
     awardsDAO.AddAward(title, description);
 }