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