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)); }