public ActionResult GetListPermissionGroup(string GroupCode) { var _data = _IPermissionGroupService.GetListPermissionGroup(GroupCode); if (_data != null) { ResponsePermissionGroup resp = new ResponsePermissionGroup() { status = StatusResponse.Success, message = "success.", data = _data, }; return(Ok(new { resp })); } else { return(BadRequest()); } }