Example #1
0
 public IHttpActionResult Get()
 {
     try
     {
         var timelines = _service.GetAllPublicTimelinesWithoutContentItems();
         return(Ok(timelines));
     }
     catch (Exception ex)
     {
         return(BadRequest("An error occured"));
     }
 }