public CreatedNegotiatedContentResult<IEnumerable<Figure>> GetCreatedNegotiatedContentResult()
{
UrlHelper helper = new UrlHelper(Request);
IDictionary<string, object> route = new Dictionary<string, object>();
route["controller"] = "Figure";
route["action"] = "GetAll";
return new CreatedNegotiatedContentResult<IEnumerable<Figure>>(new Uri(helper.Link("DefaultApi", route)), FigureManager.Figures, this);
}