public ActionResult GetAllRoleMaster([FromBody] JObject postbody) { List <RoleDetails> listrd = new List <RoleDetails>(); string Action = postbody["Action"].ToString(); listrd = adal.GetRoleMaster(Action); return(Ok(listrd)); }