Repositories inserted and new page for accounts inserted
This commit is contained in:
11
WinFormDi.BLI/IAccountRecordRepository.cs
Normal file
11
WinFormDi.BLI/IAccountRecordRepository.cs
Normal file
@ -0,0 +1,11 @@
|
||||
using WinFormDiApp.BL.Models;
|
||||
|
||||
namespace WinFormDiApp.BLI
|
||||
{
|
||||
public interface IAccountRecordRepository
|
||||
{
|
||||
bool AddAccountRecord(AccountRecord record);
|
||||
bool DeleteAccountRecord(AccountRecord record);
|
||||
IEnumerable<AccountRecord> GetAllAccounts();
|
||||
}
|
||||
}
|
||||
9
WinFormDi.BLI/IMemberRepository.cs
Normal file
9
WinFormDi.BLI/IMemberRepository.cs
Normal file
@ -0,0 +1,9 @@
|
||||
using WinFormDiApp.BL.Models;
|
||||
|
||||
namespace WinFormDiApp.BLI
|
||||
{
|
||||
public interface IMemberRepository
|
||||
{
|
||||
IEnumerable<Member> InsertMember(Member member);
|
||||
}
|
||||
}
|
||||
13
WinFormDi.BLI/WinFormDiApp.BLI.csproj
Normal file
13
WinFormDi.BLI/WinFormDiApp.BLI.csproj
Normal file
@ -0,0 +1,13 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net7.0</TargetFramework>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<Nullable>enable</Nullable>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\WinFormDiApp.BL\WinFormDiApp.BL.csproj" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
Reference in New Issue
Block a user