-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathIBugRepository.cs
More file actions
29 lines (26 loc) · 1007 Bytes
/
Copy pathIBugRepository.cs
File metadata and controls
29 lines (26 loc) · 1007 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
using BugTrackerProject.Models.SubModels;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace BugTrackerProject.Models
{
public interface IBugRepository
{
BugAttributes Add(BugAttributes bug);
BugAttributes Delete(int id);
IEnumerable<BugAttributes> GetAllProjectBugs(int projectId);
List<BugAttributes> GetAllAssigneeBugs(string userId);
BugAttributes GetBug(int id);
BugAttributes Update(BugAttributes bugChanges);
List<ScreenShots> AddScreenShots(List<ScreenShots> addedScreenShots);
List<ScreenShots> ScreenShots(int bug);
ScreenShots DeleteScreenShots(int screenShotId);
List<Comment> Comments(int bug);
Comment AddComment(Comment comment);
Comment DeleteComment(int id);
Comment UpdateComment(Comment comment);
BugHistory AddHistoryEntry(BugHistory changes);
List<BugHistory> GetBugHistories(int bugId);
}
}