Beispiel #1
0
 public IHttpActionResult GetArchiveSettings([FromUri] Guid stageActivityId)
 {
     try
     {
         //if (activityId.IsNullOrEmpty())
         //    return BadRequest("Invalid activity id received.");
         return(Ok(_activitiesService.GetActivityArchive(stageActivityId)));
     }
     catch (Exception ex)
     {
         return(InternalServerError(ex));
     }
 }