Esempio n. 1
0
 public void DeleteIssue(int issueId)
 {
     ctx.Issues.Remove(new Issue {
         Id = issueId
     });
     ctx.SaveChanges();
 }
Esempio n. 2
0
 public void DeleteProject(int projectId)
 {
     ctx.Projects.Remove(new Project {
         Id = projectId
     });
     ctx.SaveChanges();
 }
Esempio n. 3
0
 public void DeleteTimeEntry(int timeEntryId)
 {
     ctx.TimeEntries.Remove(new TimeEntry {
         Id = timeEntryId
     });
     ctx.SaveChanges();
 }