Beispiel #1
0
        public ErrorItemsPoco DeleteErrorItem(Err err)
        {
            var res   = new ErrorItemsPoco();
            var count = _err.DeleteErrorItem(err.ErrorId);

            res.RecordCount = count;
            res.ErrorItems  = _err.GetErrorItems();
            return(res);
        }
Beispiel #2
0
        public async Task <ErrorItemsPoco> DeleteErrorItem(Err err)
        {
            var res = new ErrorItemsPoco
            {
                RecordCount = await _err.DeleteErrorItem(err.ErrorId),
                ErrorItems  = await _err.GetErrorItems()
            };

            return(res);
        }