Exemplo n.º 1
0
        public void AddIndexAccountTest(Guid id)
        {
            IndexAccountDto indexAccountDto = new IndexAccountDto();

            indexAccountDto.Code               = "2/0";
            indexAccountDto.Description        = "Bank mell";
            indexAccountDto.HaveAccounts       = true;
            indexAccountDto.GeneralAccountCode = 4;
            indexAccountDto.RowId              = 0;
            indexAccountDto.GeneralAccountId   = id;
            PersonAccountService pa = new PersonAccountService();
            string str = pa.AddIndexAccount(indexAccountDto);
        }
Exemplo n.º 2
0
 public void GetIndexAccountTest()
 {
     PersonAccountService pa = new PersonAccountService();
     IndexAccountDto      indexAccountDto = pa.GetIndexAccount("1/0");
     var a = indexAccountDto.Description;
 }