public ActionResult Get() { try { var result = OperationBase.GetAll(); return(Ok(result.Adapt <IEnumerable <TDTO> >())); } catch (Exception e) { return(StatusCode(StatusCodes.Status500InternalServerError, e)); } }