C# Class Decision.ServiceLayer.EFServiecs.Evaluations.QuestionService

کلاس ارائه دهنده سروسیس های لازم برای اعمال روی سوال
Inheritance: IQuestionService
Show file Open project: rabbal/Decision

Public Methods

Method Description
CreateAsync ( AddQuestionViewModel viewModel ) : Task
DeleteAsync ( System.Guid id ) : System.Threading.Tasks.Task
DisableAsync ( System.Guid guid ) : System.Threading.Tasks.Task
EditAsync ( Decision.ViewModel.Question.EditQuestionViewModel viewModel ) : System.Threading.Tasks.Task
EnableAsync ( System.Guid guid ) : System.Threading.Tasks.Task
GelAllActive ( ) : Task>
GetForEditAsync ( System.Guid id ) : Task
GetPagedListAsync ( QuestionSearchRequest request ) : Task
GetQuestionViewModel ( System.Guid id ) : Task
GetQuestionsByIdsAsync ( IEnumerable ids ) : Task>
IsInDb ( System.Guid id ) : Task
QuestionService ( IUnitOfWork unitOfWork, IAnswerOptionService answerOptionService, IApplicationUserManager userManager, IMappingEngine mappingEngine ) : System

Method Details

CreateAsync() public method

public CreateAsync ( AddQuestionViewModel viewModel ) : Task
viewModel Decision.ViewModel.Question.AddQuestionViewModel
return Task

DeleteAsync() public method

public DeleteAsync ( System.Guid id ) : System.Threading.Tasks.Task
id System.Guid
return System.Threading.Tasks.Task

DisableAsync() public method

public DisableAsync ( System.Guid guid ) : System.Threading.Tasks.Task
guid System.Guid
return System.Threading.Tasks.Task

EditAsync() public method

public EditAsync ( Decision.ViewModel.Question.EditQuestionViewModel viewModel ) : System.Threading.Tasks.Task
viewModel Decision.ViewModel.Question.EditQuestionViewModel
return System.Threading.Tasks.Task

EnableAsync() public method

public EnableAsync ( System.Guid guid ) : System.Threading.Tasks.Task
guid System.Guid
return System.Threading.Tasks.Task

GelAllActive() public method

public GelAllActive ( ) : Task>
return Task>

GetForEditAsync() public method

public GetForEditAsync ( System.Guid id ) : Task
id System.Guid
return Task

GetPagedListAsync() public method

public GetPagedListAsync ( QuestionSearchRequest request ) : Task
request QuestionSearchRequest
return Task

GetQuestionViewModel() public method

public GetQuestionViewModel ( System.Guid id ) : Task
id System.Guid
return Task

GetQuestionsByIdsAsync() public method

public GetQuestionsByIdsAsync ( IEnumerable ids ) : Task>
ids IEnumerable
return Task>

IsInDb() public method

public IsInDb ( System.Guid id ) : Task
id System.Guid
return Task

QuestionService() public method

public QuestionService ( IUnitOfWork unitOfWork, IAnswerOptionService answerOptionService, IApplicationUserManager userManager, IMappingEngine mappingEngine ) : System
unitOfWork IUnitOfWork
answerOptionService IAnswerOptionService
userManager IApplicationUserManager
mappingEngine IMappingEngine
return System