예제 #1
0
        public async Task <JsonResult> GetAllTemplateLabels()
        {
            await CheckPermission();

            var sqlR   = new LabelRepository();
            var result = await sqlR.GetAllTemplateLabels();

            sqlR.Dispose();
            return(Json(result));
        }