Beispiel #1
0
        public async Task <JsonResult> AddOrUpdateTaskPrints([FromBody] TaskPrint input)
        {
            var user = await CheckPermission();

            input.User = user;
            var sqlr = new LabelRepository();
            var id   = await sqlr.AddOrUpdateTaskPrints(input);

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