Exemplo n.º 1
0
        public IEnumerable <Wish> GetWishesForEvent(Event eventDb)
        {
            string getWishes = $"select * from wishes where eventid = {eventDb.Id}";

            return(dbr.GetData <Wish>(getWishes));
        }
Exemplo n.º 2
0
 public void ConnectionTest()
 {
     dbr.GetData <object>("select * from users");
 }
Exemplo n.º 3
0
        public IEnumerable <Event> GetEvents()
        {
            string getEvents = "select * from Events order by id asc";

            return(dbr.GetData <Event>(getEvents));
        }