2023-04-16 21:46:06 +04:00
|
|
|
|
using ForumContracts.BindingModels;
|
|
|
|
|
using ForumContracts.SearchModels;
|
|
|
|
|
using ForumContracts.ViewModels;
|
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace ForumContracts.StorageContracts
|
|
|
|
|
{
|
|
|
|
|
public interface IQuestionStorage
|
|
|
|
|
{
|
|
|
|
|
List<QuestionViewModel> GetFullList();
|
|
|
|
|
List<QuestionViewModel> GetFilteredList(QuestionSearchModel model);
|
2023-05-05 18:44:46 +04:00
|
|
|
|
List<QuestionViewModel> HardRequest(QuestionSearchModel model);
|
2023-04-16 21:46:06 +04:00
|
|
|
|
QuestionViewModel? GetElement(QuestionSearchModel model);
|
|
|
|
|
QuestionViewModel? Insert(QuestionBindingModel model);
|
|
|
|
|
QuestionViewModel? Update(QuestionBindingModel model);
|
|
|
|
|
QuestionViewModel? Delete(QuestionBindingModel model);
|
|
|
|
|
}
|
|
|
|
|
}
|