Exemplo n.º 1
0
        public async Task <SumResponseDto> Addition(SumDto sum, string trackingId)
        {
            var result   = sum.Addends.Sum();
            var response = new SumResponseDto {
                Sum = result
            };

            await _journal.AddJournalOperation(EnumOperationsType.Sum, sum, response, trackingId);

            return(response);
        }