Пример #1
0
        public async Task <RequestResult> Clear()
        {
            try
            {
                await _sequenceService.Clear();

                return(new SuccessResult
                {
                    Response = "ok",
                    Status = "ok"
                });
            }
            catch (Exception e)
            {
                return(new ErrorResult
                {
                    Msg = e.Message,
                    Status = "error"
                });
            }
        }