Files
Pibd-21_Semin_D.A._SmallSof…/SmallSoftwareProject/SmallSoftwareContracts/BusinessLogicsContracts/ISoftwareBusinessLogicContract.cs
2025-02-26 15:06:46 +04:00

17 lines
634 B
C#

using SmallSoftwareContracts.DataModels;
namespace SmallSoftwareContracts.BusinessLogicsContracts;
public interface ISoftwareBusinessLogicContract
{
List<SoftwareDataModel> GetAllSoftwares(bool onlyActive = true);
List<SoftwareDataModel> GetAllSoftwaresByManufacturer(string manufacturerId,
bool onlyActive = true);
List<SoftwareHistoryDataModel> GetSoftwareHistoryBySoftware(string softwareId);
SoftwareDataModel GetSoftwareByData(string data);
void InsertSoftware(SoftwareDataModel softwareDataModel);
void UpdateSoftware(SoftwareDataModel softwareDataModel);
void DeleteSoftware(string id);
}