Beispiel #1
0
        public async Task <MsgOutput> DeleteAsync([FromRoute] string id, [FromRoute] byte[] timestamp)
        {
            var key = new KeyStamp <string>(id, timestamp);
            await _sysCompanyService.DeleteAsync(new[] { key });

            return(MsgOutputOption.OkMsg);
        }
        public async Task <MsgOutput> DeleteMainChildAsync([FromRoute] long id, [FromRoute] byte[] timestamp)
        {
            var key = new KeyStamp <long>(id, timestamp);
            await _fieldFilterService.DeleteMainChildAsync(new[] { key });

            return(MsgOutputOption.OkMsg);
        }
Beispiel #3
0
        public async Task <MsgOutput> DeleteAsync([FromRoute] int id, [FromRoute] byte[] timestamp)
        {
            var key = new KeyStamp <int>(id, timestamp);
            await _userinfoService.DeleteAsync(new[] { key });

            return(MsgOutputOption.OkMsg);
        }