17 lines
634 B
C#
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);
|
|
|
|
}
|