//------------------------------------------------------------------------------ public virtual void CountProfileOrgByUuid() { string _uuid = (string)util.GetParamValue(_context, "uuid"); ResponseProfileOrgInt wrapper = new ResponseProfileOrgInt(); wrapper.message = "Success"; wrapper.code = 0; wrapper.action = "profile-org/count/by-uuid"; int i = api.CountProfileOrgByUuid( _uuid ); // get data wrapper.data = i; util.SerializeTypeToResponse(_format, _context, wrapper); }
//------------------------------------------------------------------------------ public virtual void CountProfileOrg() { ResponseProfileOrgInt wrapper = new ResponseProfileOrgInt(); wrapper.message = "Success"; wrapper.code = 0; wrapper.action = "profile-org/count"; int i = api.CountProfileOrg( ); // get data wrapper.data = i; util.SerializeTypeToResponse(_format, _context, wrapper); }