Example #1
0
        public void CheckDevice(DeviceModel device)
        {
            SqlParameter[] parameters = new SqlParameter[]
            {
              new SqlParameter("@USERID", device.UserId),
              new SqlParameter("@DEVICEID", device.DeviceId),
            };

            ExecuteSPNonReturnData("UpdateUserDevice", parameters);
        }
Example #2
0
 // POST: api/Device
 public void Post(DeviceModel device)
 {
     new DeviceModel().CheckDevice(device);
 }
Example #3
0
 public void CheckDevice(DeviceModel device)
 {
     new DeviceDAL().CheckDevice(device);
 }