Ejemplo n.º 1
0
        public async Task <ActionResult> GetAllLists()
        {
            var result = await _service.GetAllLists();

            if (!result.Succeeded)
            {
                return(NotFound("Oops, there is no available lists!"));
            }

            return(Ok(result));
        }