Esempio n. 1
0
        public object Post(PushNotificationRegistration request)
        {
            var account = _accountDao.FindById(new Guid(this.GetSession().UserAuthId));

            _deviceDao.Add(account.Id, request.DeviceToken, request.Platform);

            return(new HttpResult(HttpStatusCode.OK));
        }