public async Task <ResponseDto <GroupLedgerDto> > AddAsync(GroupLedgerDto groupLedgerDto)
        {
            var groupLedger = _mapper.Map <GroupLedgerDto, GroupLedger>(groupLedgerDto);


            try
            {
                await _groupLedgerRepository.AddAsync(groupLedger);

                await _unitOfWork.SaveChangesAsync();

                return(_responseService.Response(groupLedgerDto, UserMessage.Success));
            }
            catch (Exception e)
            {
                var lastException = e.GetLastException();
                return(_responseService.Response(groupLedgerDto, lastException.ReturnList(), UserMessage.Failed));
            }
        }
 public async Task <ResponseDto <GroupLedgerDto> > PostAsync(GroupLedgerDto groupLedgerDto)
 {
     return(await _groupLedgerService.AddAsync(groupLedgerDto));
 }