public ActionResult Detail(int id = 0)
        {
            RetrieveRequest request = new RetrieveRequest();
            RetrieveResponse <TbDetailJenisKegiatanRow> response   = new RetrieveResponse <TbDetailJenisKegiatanRow>();
            TbDetailJenisKegiatanRepository             repository = new TbDetailJenisKegiatanRepository();

            using (var connection = SqlConnections.NewByKey("Rukuntangga"))
            {
                request.EntityId = id;
                response         = repository.Retrieve(connection, request);
            }

            return(View(MVC.Views.Rukuntangga.Aktifitas._AktifitasDetail, response.Entity));
        }
        public ActionResult CariAktifitas(string wildCard)
        {
            ListRequest request = new ListRequest();
            ListResponse <TbDetailJenisKegiatanRow> response   = new ListResponse <TbDetailJenisKegiatanRow>();
            TbDetailJenisKegiatanRepository         repository = new TbDetailJenisKegiatanRepository();
            var ud     = (UserDefinition)Authorization.UserDefinition;
            var kodeRt = ud.Ktp.KodeRt;

            using (var connection = SqlConnections.NewByKey("Rukuntangga"))
            {
                request.Criteria = new Criteria("NamaKegiatan").Like("%" + wildCard + "%");
                response         = repository.List(connection, request);
            }
            return(PartialView(MVC.Views.Rukuntangga.Aktifitas._AktifitasTerbaru, response.Entities));
        }