software-functions-users
This commit is contained in:
@@ -0,0 +1,41 @@
|
||||
namespace LaaProductionWeb.Services.Interfaces
|
||||
{
|
||||
using LaaProductionWeb.Services.Models.Software;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
public interface ISoftwareService : ITransient
|
||||
{
|
||||
void AddFunction(short appId, string name);
|
||||
|
||||
void DeleteFunction(int funcId);
|
||||
|
||||
IEnumerable<SoftwareFunction> GetAllSoftwareFunctions();
|
||||
|
||||
IEnumerable<SoftwareFunction> GetSoftwareFunctions(short appId);
|
||||
|
||||
SoftwareOverview GetSoftwareOverview(short appId);
|
||||
|
||||
IEnumerable<Software> GetSoftwareVersions(short appId);
|
||||
|
||||
Software GetSoftwareWithFunctions(short appId);
|
||||
|
||||
IEnumerable<SoftwareOverview> GetSoftwares();
|
||||
|
||||
IEnumerable<SoftwareUser> GetUsers(string username = null);
|
||||
|
||||
IEnumerable<SoftwareUser> 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<UserFunctions> mapper);
|
||||
|
||||
void UpdateUsersFunctions(Action<FunctionUsers> mapper);
|
||||
|
||||
void UpdatePasswordHashes();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user