2023-04-16 21:46:06 +04:00

21 lines
609 B
C#

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);
bool Create(QuestionBindingModel model);
bool Update(QuestionBindingModel model);
bool Delete(QuestionBindingModel model);
}
}