namespace LaaProductionWeb.Services.Interfaces { using LaaProductionWeb.Services.Models.Software; using System; using System.Collections.Generic; public interface ISoftwareService { void AddFunction(short appId, string name); void DeleteFunction(int funcId); short FindAndUpdateSoftware(string name, IEnumerable functions); IEnumerable GetAllSoftwareFunctions(); IEnumerable GetSoftwareFunctions(short appId); IEnumerable GetSoftwareFunctions(short appId, short userId); SoftwareOverview GetSoftwareOverview(short appId); IEnumerable GetSoftwareVersions(short appId); IEnumerable GetSoftwares(); IEnumerable GetUsers(string username = null); IEnumerable GetUsersWithFunctions(int id = -1, string username = null); int ResetPassword(short userId); int ResetPassword(short userId, string password); void UpdateFunction(int funcId, string name); void UpdateUsersFunctions(Action mapper); void UpdateUsersFunctions(Action mapper); void UpdatePasswordHashes(); } }