示例#1
0
        private void CreateDevice(AppleDevice device)
        {
            device.Prepare();
            device.Validate();

            _repository.CreateUserAppleDevice(device);
        }
示例#2
0
        private void UpdateDevice(AppleDevice device)
        {
            device.Validate();

            _repository.UpdateUserAppleDevice(device);
        }