예제 #1
0
        public ErrorItemsPoco DeleteMatchingErrorItems(Err err)
        {
            var res   = new ErrorItemsPoco();
            var count = _err.DeleteMatchingErrorItems(err.ErrorId);

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

            res.RecordCount = count;
            res.ErrorItems  = await _err.GetErrorItems();

            return(res);
        }