public async Task <ActionResult> GetAllSettlements(int id)
        {
            try
            {
                var data = await _SettlementRepository.GetAllSettlementAsync(id);

                return(Ok(data));
            }
            catch (Exception exp)
            {
                _Logger.LogError(exp.Message);
                return(BadRequest(new ApiCommonResponse {
                    Status = false
                }));
            }
        }