public RobotsTxt GetRobots()
        {
            var model = new RobotsTxt {
                Text = File.ReadAllText(PathToFile)
            };

            return(model);
        }
        public bool UpdateRobots(RobotsTxt model)
        {
            File.WriteAllText(PathToFile, model.Text);

            return(true);
        }
 public IActionResult UpdateRobots([FromBody] RobotsTxt model)
 {
     this._seoService.UpdateRobots(model);
     return(Ok(true));
 }