Пример #1
0
        public GetAllDataBukuTanahResponse GetAllDataBukuTanah()
        {
            GetAllDataBukuTanahResponse response = new GetAllDataBukuTanahResponse();

            try
            {
                List <BukuTanah> _listBukuTanah = _bukuTanahRepo.GetAll();
                response.BukuTanahList.AddRange(_listBukuTanah);
            }
            catch (Exception ex)
            {
                throw new Exception(ex.ToString());
            }
            return(response);
        }
Пример #2
0
        public void GetAllDataBukuTanah()
        {
            GetAllDataBukuTanahResponse response = _bukuTanahService.GetAllDataBukuTanah();

            Assert.IsTrue(response.Messages.Count == 0, "Failed insert data");
        }