ISEbd-21_Tukaeva_A_A_School/School/SchoolContracts/BusinessLogicsContracts/IExpenseLogic.cs

21 lines
566 B
C#

using SchoolContracts.BindingModels;
using SchoolContracts.SearchModel;
using SchoolContracts.ViewModels;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SchoolContracts.BusinessLogicsContracts
{
public interface IExpenseLogic
{
List<ExpenseViewModel>? ReadList(ExpenseSearchModel? model);
ExpenseViewModel? ReadElement(ExpenseSearchModel model);
bool Create(ExpenseBindingModel model);
bool Update(ExpenseBindingModel model);
bool Delete(ExpenseBindingModel model);
}
}