public static string addunit(int id, string tisaneid, string tisaneman, string ps)
    {
        string result = "";

        TeModel tm  = new TeModel();
        int     sdr = tm.addunit(id, tisaneid, tisaneman, ps);

        if (sdr == 0)
        {
            result = "0";
        }
        else
        {
            result = "1";
        }

        return(result);
    }