public async Task <KifizetesResult> Select([FromQuery] string sid, [FromBody] int bizonylatKod)
        {
            var result = new KifizetesResult();

            using (var tr = await _context.Database.BeginTransactionAsync())
                try
                {
                    result.Result = await KifizetesBll.SelectAsync(_context, sid, bizonylatKod);

                    tr.Commit();
                }
                catch (Exception ex)
                {
                    tr.Rollback();
                    result.Error = ex.InmostMessage();
                }

            return(result);
        }
        public async Task <KifizetesResult> Get([FromQuery] string sid, [FromBody] int key)
        {
            var result = new KifizetesResult();

            using (var tr = await _context.Database.BeginTransactionAsync())
                try
                {
                    result.Result = new List <KifizetesDto> {
                        await KifizetesBll.GetAsync(_context, sid, key)
                    };

                    tr.Commit();
                }
                catch (Exception ex)
                {
                    tr.Rollback();
                    result.Error = ex.InmostMessage();
                }

            return(result);
        }