33 lines
957 B
C#
33 lines
957 B
C#
namespace LaaProduction.Personalization.Repositories.Interfaces
|
|
{
|
|
using LaaProduction.Personalization.Models;
|
|
|
|
using System;
|
|
using System.Collections.Generic;
|
|
|
|
public interface ISoftwareRepository
|
|
{
|
|
void AddVersion(Int16 softwareId, String assemblyName, Int32 majorV, Int32 minorV, Int32 buildV, DateTime validUntil, String description);
|
|
|
|
Int16 AppId(String software);
|
|
|
|
void Delete(Int32 versionId);
|
|
|
|
SoftwareDetails Details(Int32 versionId);
|
|
|
|
void EditVersion(Int32 versionId, DateTime? validUntil, String description);
|
|
|
|
IEnumerable<SoftwareFunction> Functions(Int16 softwareId);
|
|
|
|
IEnumerable<String> GetSoftwareFunctions(String token);
|
|
|
|
Int16 Insert(String assembly, Int32 major, Int32 minor, Int32 build);
|
|
|
|
IEnumerable<SoftwareItem> List();
|
|
|
|
Int16 SoftwareId(String assembly);
|
|
|
|
IEnumerable<SoftwareVersion> Versions(Int16 softwareId);
|
|
}
|
|
}
|