public bool Insert(int etkinlikid, TblNot tblNot)
        {
            int tblnotid = _tblNotService.Insert(tblNot);

            KullaniciNot kullaniciNot = new KullaniciNot
            {
                KullaniciId = tblNot.Olusturankisi,
                NotId       = tblnotid,
                Etkinlikid  = etkinlikid
            };

            const string Sql = "insert into public.kullanicinot (kullaniciid, notid, etkinlikid) values (@kullaniciid, @notid, @etkinlikid)";

            return(_genericRepository.Insert(Sql, kullaniciNot));
        }
        public List <TblNot> Select(KullaniciNot model)
        {
            const string Sql = @"select t.id, t.konu, t.aciklama from public.tblnot t, public.kullanicinot kt where t.id = kt.notid and kt.kullaniciid =@kullaniciid and kt.etkinlikid = @etkinlikid";

            return(_genericRepository.Select <TblNot>(Sql, model));
        }