public async Task <JsonResult> GetAllLabelsByTaskPrintId(int taskPrintId, int skip, int limit) { await CheckPermission(); var sqlR = new LabelRepository(); var result = await sqlR.GetTaskPrintItemsByTaskPrintsIdUi(taskPrintId, skip, limit); sqlR.Dispose(); return(Json(result)); }