public IActionResult Merchantdisplay(int Mid) { List <MerchantInfo> list = new List <MerchantInfo>(); try { list = bll.Merchantdisplay(Mid); } catch (Exception ex) { log.Error(ex.Message); } return(Ok(new { data = list })); }