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

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