public async Task <ActionResult <IEnumerable <SensorItemDto> > > GetSensorAll() { var userId = User.FindFirstValue(ClaimTypes.NameIdentifier); return(await this._dbContext.GetSensors(userId)); }
public async Task <ActionResult <IEnumerable <SensorItemDto> > > GetSensorAll() { var userId = User.FindFirstValue(ClaimTypes.NameIdentifier); return(await this._dbContext.GetSensors(userId)); }