public IHttpActionResult Get() { try { IQueryable <Topic> topic = null; topic = _repository.Get(); return(Ok(topic .OrderBy(d => d.Name) .ToList())); } catch (Exception ex) { return(InternalServerError()); } }