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