public Object Test1() { try { var model = _testServices.List(); return(model); } catch (Exception ex) { return(ex.ToString()); } }
public IHttpActionResult List() { var result = _TestService.List(); return(ApiHelper.ReturnHttpAction(result, this)); }