public async Task <JsonResult> GetSelectedLabelsByTaskPrintId([FromBody] TaskPrintSelectLabels req) { await CheckPermission(); var sqlR = new LabelRepository(); var result = await sqlR.GetTaskSelectedItemsByTaskPrintsIdUi(req.Id, req.IsSelectedAll, req.SelectedRows); sqlR.Dispose(); return(Json(result)); }