예제 #1
0
        public Task DeleteDomain(DataDomainModel domainModel)
        {
            string sql = @"delete from domain where id=@Id;";

            return(_db.SaveData(sql, domainModel));
        }
예제 #2
0
        public Task InsertDomain(DataDomainModel domainModel)
        {
            string sql = @"insert into domain (domain) values(@Domain);";

            return(_db.SaveData(sql, domainModel));
        }