C# 클래스 NuSurvey.Web.Services.ArchiveService

상속: IArchiveService
파일 보기 프로젝트 열기: ucdavis/NuSurvey

공개 메소드들

메소드 설명
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

메소드 상세

ArchiveCategory() 공개 메소드

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
리턴 Category

ArchiveCategory() 공개 메소드

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