예제 #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);
        }
예제 #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);
        }