public async Task <IActionResult> getContractByMerchant(GetMerchant GetMerchant)
        {
            try
            {
                var _getMerchantContractlist = await _MerchantService.GetcontractBymerchant(GetMerchant);

                if (_getMerchantContractlist.Count > 0)
                {
                    foreach (var MerchantContractlist in _getMerchantContractlist)
                    {
                        strMerchantImages = _configuration["FilePath:ImagePath"] + "MerchantContract/";
                        string strServerURL = _configuration["FilePath:ServerURL"] + "MerchantContract/";


                        if (System.IO.File.Exists(strMerchantImages + MerchantContractlist.ContractFileName))
                        {
                            MerchantContractlist.ContractFileURL = strServerURL + MerchantContractlist.ContractFileName;
                        }
                        else
                        {
                            MerchantContractlist.ContractFileURL = "";
                        }
                    }
                }

                return(Ok(_getMerchantContractlist));
            }
            catch (Exception err)
            {
                return(BadRequest(new GenericResultDto <string> {
                    Result = err.Message
                }));
            }
        }