Example #1
0
        public List <Pemasukan> ReadAll()
        {
            List <Pemasukan> list = new List <Pemasukan>();

            using (DbContext context = new DbContext())
            {
                _repository = new PemasukanRepository(context);
                list        = _repository.ReadAll();
            }

            return(list);
        }