Пример #1
0
        public IHttpActionResult Delete(int id)
        {
            try
            {
                _queueRepository.Delete(id);
            }
            catch (Exception e)
            {
                return(InternalServerError(e));
            }

            return(Ok());
        }
Пример #2
0
        public IHttpActionResult DeleteMessages(string name, QueueActionModel model)
        {
            _repository.Delete(name, model.Ids);

            return(Ok());
        }