public void Delete(int id) { var project = Get(id); if (project != null) { var builder = new SqlQueryBuilder <Project>(project); ExecuteCommand(builder.GetDeleteCommand()); } }
public void Delete(int id) { var issue = Get(id); if (issue != null) { var builder = new SqlQueryBuilder <Issue>(issue); ExecuteCommand(builder.GetDeleteCommand()); } }