예제 #1
0
        public IEnumerable <Interaction> Get(string key = null)
        {
            var response = _interactionService.GetInteractions();

            if (response.Success)
            {
                return(response.Collection);
            }
            else
            {
                throw new HttpException(500, response.Errors.Stringify());
            }
        }