메소드 | 설명 | |
---|---|---|
ArchiveCategory ( IRepository repository, int id, Category updatedCategory ) : Category |
This creates and saves a new version of the category and saves the old version of the category
|
|
ArchiveCategory ( IRepository repository, int id, Question questionToEdit ) : Category |
public ArchiveCategory ( IRepository repository, int id, Category updatedCategory ) : Category | ||
repository | IRepository | |
id | int | id of the current category |
updatedCategory | Category | the current category with updated values |
리턴 | Category |
public ArchiveCategory ( IRepository repository, int id, Question questionToEdit ) : Category | ||
repository | IRepository | |
id | int | |
questionToEdit | Question | |
리턴 | Category |