Пример #1
0
        public async Task <JsonResult> AddLabelWithTaskPtintsItem([FromBody] LabelRepository.LabelWithTaskPrintId input)
        {
            var user = await CheckPermission();

            var sqlR = new LabelRepository();
            var id   = await sqlR.AddLabelWithTaskPtintsItem(input, user);

            sqlR.Dispose();
            return(Json(new { id = id }));
        }