API_3.Controllers.FigureController.GetMethodCreatedNegotiatedContentResult C# (CSharp) Method

GetMethodCreatedNegotiatedContentResult() public method

public GetMethodCreatedNegotiatedContentResult ( ) : CreatedNegotiatedContentResult>
return CreatedNegotiatedContentResult>
        public CreatedNegotiatedContentResult<List<Figure>> GetMethodCreatedNegotiatedContentResult()
        {
            IDictionary<string, object> route = new Dictionary<string, object>();
            UrlHelper helper = new UrlHelper(Request);
            route["controller"] = "Figure";
            route["action"] = "GetAll";
            string AbsoluteUrl = helper.Link("DefaultApi", route);
            return Created(helper.Link("DefaultApi", route), FigureManager.Figures);
        }