示例#1
0
        public object Delete(PushNotificationRegistration request)
        {
            var account = _accountDao.FindById(new Guid(this.GetSession().UserAuthId));

            _deviceDao.Remove(account.Id, request.DeviceToken);

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