Esempio n. 1
0
        public async Task <JsonResult> GetDeviceLabels([FromBody] LabelRepository.DeviceLabelsRequest input)
        {
            await CheckPermission();

            using (var sqlR = new LabelRepository())
            {
                var result = await sqlR.GetDeviceLabels(input);

                return(Json(result));
            }
        }