public ConcertResponse GetConcert(long id) { var requestId = Guid.NewGuid().ToString("N"); RequestValidator.ValidateWebRequestHeaders(Request); return(_concertService.GetConcert(requestId, id)); }
public async Task <IActionResult> GetConcert(int id) { var concert = await concertService.GetConcert(id); return(Ok(concert)); }
public IHttpActionResult GetConcert(int id) { return(Ok(_concertService.GetConcert(id))); }