C# Class NuSurvey.Web.Services.ArchiveService

Inheritance: IArchiveService
Afficher le fichier Open project: ucdavis/NuSurvey

Méthodes publiques

Méthode Description
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

Method Details

ArchiveCategory() public méthode

This creates and saves a new version of the category and saves the old version of the 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
Résultat Category

ArchiveCategory() public méthode

public ArchiveCategory ( IRepository repository, int id, Question questionToEdit ) : Category
repository IRepository
id int
questionToEdit Question
Résultat Category