Ejemplo n.º 1
0
        public async Task <IntuneApplication> CreateApplication(IntuneApplication application)
        {
            var request  = _serializationHelper.Serialize(application);
            var response = await _connector.SendPostRequest(BaseResource, request);

            return(_serializationHelper.Deserialize <IntuneApplication>(response));
        }
Ejemplo n.º 2
0
        public async Task <DeviceManagementScript> Create(DeviceManagementScript deviceScript)
        {
            var request  = _serializationHelper.Serialize(deviceScript);
            var response = await _connector.SendPostRequest(BaseResource, request);

            return(_serializationHelper.Deserialize <DeviceManagementScript>(response));
        }