public ActionResult <List <Device> > GetReportedDevices(DeviceMetadataResponseWithDates deviceMetadata) { return(_deviceService.Get(deviceMetadata)); }
public async Task <List <Device> > GetReportDevices(string token, DeviceMetadataResponseWithDates metadata) { return(await RequestHandler.ProcessPostRequest <List <Device>, DeviceMetadataResponseWithDates>(POST_GETREPORTDEVICES, metadata, token)); }