Ejemplo n.º 1
0
        public Task <IHttpActionResult> GetJobResult([FromUri] Guid jobId)
        {
            var fr = _repository.GetResultContents(jobId);

            if (fr == null)
            {
                throw new HttpResponseException(HttpStatusCode.InternalServerError);
            }

            return(Task.FromResult <IHttpActionResult>(fr));
        }