public Task DeleteDomain(DataDomainModel domainModel) { string sql = @"delete from domain where id=@Id;"; return(_db.SaveData(sql, domainModel)); }
public Task InsertDomain(DataDomainModel domainModel) { string sql = @"insert into domain (domain) values(@Domain);"; return(_db.SaveData(sql, domainModel)); }