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