API_1.Controllers.FigureController.PostByUrlModel C# (CSharp) Method

PostByUrlModel() public method

public PostByUrlModel ( Figure figure ) : IEnumerable
figure Model.Figure
return IEnumerable
        public IEnumerable<Figure> PostByUrlModel(Figure figure)
        {
            //Catelyn Tully
            if (figure != null)
            {
                FigureManager.Figures.Add(figure);
            }
            return FigureManager.Figures;
        }