public IActionResult Create([FromBody] PropertySql sql)
        {
            if (sql == null)
            {
                return(BadRequest());
            }

            repository.Add(sql);

            return(CreatedAtAction(actionName: "GetById", routeValues: new { id = sql.Id }, value: sql));
        }
 public void Put(long id, [FromBody] PropertySql sql)
 {
     repository.Update(sql);
 }