Пример #1
0
        public async Task <ActionResult> GetDashboardRobotsAsync([FromBody] RobotFilterParamsDto filterParams)
        {
            BuildUserPrincipal();

            filterParams.UserId = ApiUser.Id;

            var robots = await _robotService.GetDashboardRobotByFilterParamsAsync(filterParams);

            return(Json(JsonResultData.Success(robots)));
        }