public async Task <IActionResult> getMerchantAccountDetails([FromBody] MerchantAccountDto MerchantAccountDto) { try { var _getALLMerchantDetails = await _MerchantService.GetMerchantAccountDetails(MerchantAccountDto); return(Ok(_getALLMerchantDetails)); } catch (Exception err) { return(BadRequest(new GenericResultDto <string> { Result = err.Message })); } }