Beispiel #1
0
 public Buzzword Load(int id)
 {
     BuzzwordRepository rep = new BuzzwordRepository("Buzzword");
     Buzzword result = rep.GetbuzzwordsByid(id);
     if (result == null)
     {
         // Not found
         throw new NotImplementedException();
     }
     return result;
 }
Beispiel #2
0
        public Buzzword Load(int id)
        {
            BuzzwordRepository rep    = new BuzzwordRepository("Buzzword");
            Buzzword           result = rep.GetbuzzwordsByid(id);

            if (result == null)
            {
                // Not found
                throw new NotImplementedException();
            }
            return(result);
        }