Пример #1
0
        public async Task <ActionResult <IEnumerable <SensorItemDto> > > GetSensorAll()
        {
            var userId = User.FindFirstValue(ClaimTypes.NameIdentifier);

            return(await this._dbContext.GetSensors(userId));
        }