Example #1
0
        public IActionResult CreateSharedList([FromRoute] Guid id)
        {
            Guid sharedListId;

            try
            {
                sharedListId = _service.CreateSharedList(id);
            } catch (EntityNotFoundException)
            {
                return(NotFound());
            }
            return(Ok(sharedListId));
        }