public static UserDevice GetUserDevice(LoginUser loginUser, int userDeviceID)
        {
            UserDevices userDevices = new UserDevices(loginUser);

            userDevices.LoadByUserDeviceID(userDeviceID);
            if (userDevices.IsEmpty)
            {
                return(null);
            }
            else
            {
                return(userDevices[0]);
            }
        }
 public UserDevice(DataRow row, UserDevices userDevices) : base(row, userDevices)
 {
     _userDevices = userDevices;
 }