Example #1
0
        public ActionResult <JobInterview> Get(long id)
        {
            try
            {
                var result = _jobInterviewService.Get(id);

                if (result == null)
                {
                    return(NotFound());
                }
                else
                {
                    return(Ok(result));
                }
            }
            catch (Exception ex)
            {
                return(UnprocessableEntity(ex));
            }
        }