Skip to content
This repository has been archived by the owner on Feb 24, 2023. It is now read-only.

Commit

Permalink
Working on adding partial views for account details
Browse files Browse the repository at this point in the history
  • Loading branch information
steamwings committed Nov 7, 2019
1 parent 3dac281 commit d826196
Show file tree
Hide file tree
Showing 139 changed files with 8,799 additions and 8,790 deletions.
Binary file modified .vs/Project1/DesignTimeBuild/.dtbcache
Binary file not shown.
Binary file modified .vs/Project1/v16/.suo
Binary file not shown.
Binary file modified .vs/Project1/v16/Server/sqlite3/storage.ide
Binary file not shown.
50 changes: 25 additions & 25 deletions BusinessLayer/BL.cs
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
using System;
using System.Collections.Generic;
using System.Text;
using YAB.Models;

namespace YAB.BusinessLayer
{
public static partial class BL
{
private static Project1Context _context = null;

public static void Initialize(Project1Context c)
{
_context = c;
}

public static Accounts CreateAccount(NewAccountViewModel vm)
{
if (_context is null) return null;
Accounts a = new Accounts();

return a;
}
}
}
using System;
using System.Collections.Generic;
using System.Text;
using YAB.Models;

namespace YAB.BusinessLayer
{
public static partial class BL
{
private static Project1Context _context = null;

public static void Initialize(Project1Context c)
{
_context = c;
}

public static Accounts CreateAccount(NewAccountViewModel vm)
{
if (_context is null) return null;
Accounts a = new Accounts();

return a;
}
}
}
22 changes: 11 additions & 11 deletions BusinessLayer/YAB.BusinessLayer.csproj
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>netcoreapp3.0</TargetFramework>
</PropertyGroup>

<ItemGroup>
<ProjectReference Include="..\YAB.Models\YAB.Models.csproj" />
</ItemGroup>

</Project>
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>netcoreapp3.0</TargetFramework>
</PropertyGroup>

<ItemGroup>
<ProjectReference Include="..\YAB.Models\YAB.Models.csproj" />
</ItemGroup>

</Project>
Loading

0 comments on commit d826196

Please sign in to comment.