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