C# Class NuSurvey.Web.Services.ArchiveService

Inheritance: IArchiveService
Datei anzeigen Open project: ucdavis/NuSurvey

Public Methods

Method 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 method

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
return Category

ArchiveCategory() public method

public ArchiveCategory ( IRepository repository, int id, Question questionToEdit ) : Category
repository IRepository
id int
questionToEdit Question
return Category