Ejemplo n.º 1
0
        public FinanceResponse Check(long id)
        {
            var header = service.FindHeader(id);

            if (header == null)
            {
                throw new FinanceException(FinanceResult.RECORD_NOT_EXIST);
            }
            service.Check(id);
            logService.Write(Operation.Check, header.word + "-" + header.no);
            return(CreateResponse(FinanceResult.SUCCESS));
        }