public List<Figure> GetTwoComplexFigureFromRoute(Figure a, Figure b) { List<Figure> result = new List<Figure>(); result.Add(a); result.Add(b); return result; }
//[Route("GetTwoFigureFromRoute/{a.FirstName}/{a.LastName}/{b.FirstName}/{b.LastName}")] public List<Figure> GetTwoFigureFromQueryString(Figure a, Figure b) { List<Figure> result = new List<Figure>(); result.Add(a); result.Add(b); return result; }
public Figure GetFigureFromRouteAndQueryString(Figure figure) { return figure; }
public Figure GetFigureFromRoute(Figure figure) { return figure; }
public Figure GetFigureFromQueryStringNotAll(Figure figure) { return figure; }
public Figure GetComplexFigureFromRoute(Figure figure) { return figure; }
public Figure GetComplexFigureFromQueryString(Figure figure) { return figure; }