예제 #1
0
        public JArray PostCountry(Countries obj)    //insert data to the user table
        {
            int countryid = _countries.NextSequenceId(obj);

            obj.country_id = countryid;
            obj.audit_ts   = DateTime.Now;
            _countries.Create(obj);
            return(GetCountry());
        }