public ActionResult Index([Bind(Include = "UserDataId,RangeFrom,RangeTo,step,a,b,c")] UserData userData)
        {
            if (ModelState.IsValid)
            {
                _chartRepository.AddPointsToChart(userData);


                return(View(_chartRepository.Points));
            }

            return(View(new List <Point>()));
        }