Exemple #1
0
        public async Task <object> CreateRegistrationId()
        {
            string regID = await _notificationHubProxy.CreateRegistrationId();

            var obj = new { registrationID = regID };

            return(obj);
        }
        public async Task <IActionResult> CreatePushRegistrationId()
        {
            var registrationId = await _notificationHubProxy.CreateRegistrationId();

            return(Ok(registrationId));
        }