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

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

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