public IActionResult GeyAllOrdersDetails() { IARresponse = BadRequest(); try { vds = objadminDb.GeyAllOrdersDetails(); if (vds != null) { IARresponse = Ok(new { ordersdata = vds }); } } catch (Exception ex) { IARresponse = BadRequest(ex.Message + " in AdminController GeyAllOrdersDetails()"); } return(IARresponse); }