SUBD/CarRentContracts/BusinessLogicContracts/IRentalLogic.cs

25 lines
697 B
C#
Raw Normal View History

using CarRentContracts.BindingModels;
using CarRentContracts.SearchModels;
using CarRentContracts.ViewModels;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CarRentContracts.BusinessLogicContracts
{
public interface IRentalLogic
{
List<RentalViewModel>? ReadList(RentalSearchModel? model);
RentalViewModel? ReadElement(RentalSearchModel model);
bool Create(RentalBindingModel model);
bool Update(RentalBindingModel model);
bool Delete(RentalBindingModel model);
public string TestInsertList(int num,
List<ClientViewModel> clients,
List<CarViewModel> cars);
string TestReadList(int num);
}
}