22 lines
683 B
C#
Raw Normal View History

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.BusinessLogicContracts
{
public interface IQuestionLogic
{
List<QuestionViewModel>? ReadList(QuestionSearchModel? model);
QuestionViewModel? ReadElement(QuestionSearchModel model);
2023-05-05 18:44:46 +04:00
List<QuestionViewModel>? HardRequest(QuestionSearchModel? model);
2023-04-16 21:46:06 +04:00
bool Create(QuestionBindingModel model);
bool Update(QuestionBindingModel model);
bool Delete(QuestionBindingModel model);
}
}