public Response Put(int id, [FromBody] UserDao user)
        {
            Response res = new Response();

            try
            {
                user.Id = id;
                userSql.UpdateUser(user);
                res.success(user);
            }
            catch (Exception e)
            {
                res.error(e.Message);
            }
            return(res);
        }
 public void UpdateUser(UserDto user)
 {
     NonResultQuerry(UserSql.UpdateUser(user));
 }