示例#1
0
        private void SimpanHeaderNota()
        {
            IHeaderNotaBll headerNotaBll = new HeaderNotaBll();

            var index = 0;

            foreach (var item in _listOfTxtHeaderNota)
            {
                var headerNota = new HeaderNota
                {
                    header_nota_id = item.Tag.ToString(),
                    keterangan     = item.Text
                };

                var result = headerNotaBll.Update(headerNota);
                if (result > 0)
                {
                    _pengaturanUmum.list_of_header_nota[index].header_nota_id = headerNota.header_nota_id;
                    _pengaturanUmum.list_of_header_nota[index].keterangan     = headerNota.keterangan;
                }

                index++;
            }
        }
示例#2
0
 public int Delete(HeaderNota obj)
 {
     throw new NotImplementedException();
 }