Archived
Private
Public Access
1
0

Initial commit

This commit is contained in:
2022-09-04 12:45:01 +02:00
commit f4a01d6a69
11601 changed files with 4206660 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
using System.Collections.Generic;
using WebApplication.Modules;
namespace WebApplication.Repositorys.Interfaces {
public interface ICustomerRepository {
Customer AddCustomer(CustomerEditor editor);
void RemoveCustomer(string id);
void EditCustomer(string id, CustomerEditor editor);
Customer GetCustomer(string id);
IEnumerable<Customer> GetCustomers();
}
}

View File

@@ -0,0 +1,10 @@
using WebApplication.Modules;
namespace WebApplication.Repositorys.Interfaces {
public interface ISessionRepository {
Session CreateSession(string customer);
void RemoveSession(Session session);
Session GetSession(string id);
bool ValidateSession(Session session, string customerToAccess);
}
}