Skip to content

Commit

Permalink
start
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-wolf-ps committed Nov 24, 2019
1 parent 3ec8d8a commit 445cd48
Show file tree
Hide file tree
Showing 87 changed files with 72 additions and 53 deletions.
1 change: 1 addition & 0 deletions BethanysPieShopHRM.Api/BethanysPieShopHRM.Api.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
</PropertyGroup>

<ItemGroup>
<ProjectReference Include="..\BethanysPieShopHRM.Data\BethanysPieShopHRM.Data.csproj" />
<ProjectReference Include="..\BethanysPieShopHRM.Shared\BethanysPieShopHRM.Shared.csproj" />
</ItemGroup>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -140,9 +140,16 @@ protected override void OnModelCreating(ModelBuilder modelBuilder)
new HRTask()
{
HRTaskId = 3,
Description = "Plan a welcome lunch for our new employees",
Description = "Schedule a welcome lunch for our new employees",
Title = "Welcome Lunch",
Status = HRTaskStatus.Open
},
new HRTask()
{
HRTaskId = 4,
Description = "We need to schedule intern interviews for the fall semester.",
Title = "Intern interviews",
Status = HRTaskStatus.Open
}
});
}
Expand Down
8 changes: 8 additions & 0 deletions BethanysPieShopHRM.Data/BethanysPieShopHRM.Data.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,12 @@
<TargetFramework>netcoreapp3.0</TargetFramework>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="3.0.1" />
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\BethanysPieShopHRM.Shared\BethanysPieShopHRM.Shared.csproj" />
</ItemGroup>

</Project>
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

<ItemGroup>
<PackageReference Include="Blazor.ContextMenu" Version="1.3.0" />
<PackageReference Include="Microsoft.AspNetCore.Blazor.HttpClient" Version="3.1.0-preview3.19555.2" />
<PackageReference Include="Newtonsoft.Json" Version="12.0.1" />
</ItemGroup>

Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
using System;
using System.Threading.Tasks;
using BethanysPieShopHRM.Server.Services;
using BethanysPieShopHRM.UI.Services;
using BethanysPieShopHRM.Shared;
using Microsoft.AspNetCore.Components;

namespace BethanysPieShopHRM.Server.Components
namespace BethanysPieShopHRM.UI.Components
{
public class AddEmployeeDialogBase : ComponentBase
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using BethanysPieShopHRM.Server.Services;
using BethanysPieShopHRM.UI.Services;
using BethanysPieShopHRM.Shared;
using Microsoft.AspNetCore.Components;

namespace BethanysPieShopHRM.Server.Components
namespace BethanysPieShopHRM.UI.Components
{
public class NewEmployeesWidgetBase : ComponentBase
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
using System.Threading.Tasks;
using BethanysPieShopHRM.Shared;

namespace BethanysPieShopHRM.Server.Services
namespace BethanysPieShopHRM.UI.Services
{
public interface ICountryDataService
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
using System.Linq;
using System.Threading.Tasks;

namespace BethanysPieShopHRM.Server.Services
namespace BethanysPieShopHRM.UI.Services
{
public interface IEmailService
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
using System.Threading.Tasks;
using BethanysPieShopHRM.Shared;

namespace BethanysPieShopHRM.Server.Services
namespace BethanysPieShopHRM.UI.Services
{
public interface IEmployeeDataService
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
using System.Linq;
using System.Threading.Tasks;

namespace BethanysPieShopHRM.Server.Services
namespace BethanysPieShopHRM.UI.Services
{
public interface IExpenseDataService
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
using System.Threading.Tasks;
using BethanysPieShopHRM.Shared;

namespace BethanysPieShopHRM.Server.Services
namespace BethanysPieShopHRM.UI.Services
{
public interface IJobCategoryDataService
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
using System.Threading.Tasks;
using BethanysPieShopHRM.Shared;

namespace BethanysPieShopHRM.Server.Services
namespace BethanysPieShopHRM.UI.Services
{
public interface ISurveyDataService
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
using System.Threading.Tasks;
using BethanysPieShopHRM.Shared;

namespace BethanysPieShopHRM.Server.Services
namespace BethanysPieShopHRM.UI.Services
{
public interface ITaskDataService
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
using System.Collections.Generic;
using System.Threading.Tasks;
using BethanysPieShopHRM.ComponentsLibrary.Map;
using BethanysPieShopHRM.Server.Services;
using BethanysPieShopHRM.UI.Services;
using BethanysPieShopHRM.Shared;
using Microsoft.AspNetCore.Components;

namespace BethanysPieShopHRM.Server.Pages
namespace BethanysPieShopHRM.UI.Pages
{
public class EmployeeDetailBase : ComponentBase
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using BethanysPieShopHRM.Server.Services;
using BethanysPieShopHRM.UI.Services;
using BethanysPieShopHRM.Shared;
using Microsoft.AspNetCore.Components;
using Microsoft.AspNetCore.Components.Forms;

namespace BethanysPieShopHRM.Server.Pages
namespace BethanysPieShopHRM.UI.Pages
{
public class EmployeeEditBase : ComponentBase
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,14 @@
using System.Linq;
using System.Net.Http;
using System.Threading.Tasks;
using BethanysPieShopHRM.Server.Components;
using BethanysPieShopHRM.Server.Services;
using BethanysPieShopHRM.UI.Components;
using BethanysPieShopHRM.UI.Services;
using BethanysPieShopHRM.Shared;
using BethanysPieShopHRM.UI.Components;
using Microsoft.AspNetCore.Components;
using Microsoft.Extensions.Logging;

namespace BethanysPieShopHRM.Server.Pages
namespace BethanysPieShopHRM.UI.Pages
{
public class EmployeeOverviewBase: ComponentBase
{
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
using System.Linq;
using System.Net.Http;
using System.Threading.Tasks;
using BethanysPieShopHRM.Server.Components;
using BethanysPieShopHRM.Server.Services;
using BethanysPieShopHRM.UI.Components;
using BethanysPieShopHRM.UI.Services;
using BethanysPieShopHRM.Shared;
using Microsoft.AspNetCore.Components;

namespace BethanysPieShopHRM.Server.Pages
namespace BethanysPieShopHRM.UI.Pages
{
public class ExpenseEditBase : ComponentBase
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
using System.Linq;
using System.Net.Http;
using System.Threading.Tasks;
using BethanysPieShopHRM.Server.Components;
using BethanysPieShopHRM.Server.Services;
using BethanysPieShopHRM.UI.Components;
using BethanysPieShopHRM.UI.Services;
using BethanysPieShopHRM.Shared;
using Microsoft.AspNetCore.Components;

namespace BethanysPieShopHRM.Server.Pages
namespace BethanysPieShopHRM.UI.Pages
{
public class ExpenseOverviewBase: ComponentBase
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
@page "/"
@using BethanysPieShopHRM.Shared
@using BethanysPieShopHRM.Server.Services
@using BethanysPieShopHRM.UI.Services

<div class="row">
<div class="col-md-8">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
using System.Linq;
using System.Net.Http;
using System.Threading.Tasks;
using BethanysPieShopHRM.Server.Components;
using BethanysPieShopHRM.Server.Services;
using BethanysPieShopHRM.UI.Components;
using BethanysPieShopHRM.UI.Services;
using BethanysPieShopHRM.Shared;
using Microsoft.AspNetCore.Components;

namespace BethanysPieShopHRM.Server.Pages
namespace BethanysPieShopHRM.UI.Pages
{
public class StaffDirectoryBase: ComponentBase
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
@page "/survey/{SurveyId}"

@using BethanysPieShopHRM.Shared
@using BethanysPieShopHRM.Server.Services
@using BethanysPieShopHRM.UI.Services

<div class="entity-edit">
@if (Survey == null)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
@page "/surveyedit/{surveyId}"

@using BethanysPieShopHRM.Shared
@using BethanysPieShopHRM.Server.Services
@using BethanysPieShopHRM.UI.Services

<div class="entity-edit">
<h1 class="page-title">Survey Details</h1>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
@page "/surveys"

@using BethanysPieShopHRM.Shared
@using BethanysPieShopHRM.Server.Services
@using BethanysPieShopHRM.UI.Services

<div class="entity-edit">
@if (Surveys == null)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
@page "/taskedit"

@using BethanysPieShopHRM.Shared
@using BethanysPieShopHRM.Server.Services
@using BethanysPieShopHRM.UI.Services

<div class="entity-edit">
<h1 class="page-title">Task Details</h1>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@page "/"
@namespace BethanysPieShopHRM.Server.Pages
@namespace BethanysPieShopHRM.UI.Pages
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers

<!DOCTYPE html>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Hosting;

namespace BethanysPieShopHRM.Server
namespace BethanysPieShopHRM.UI
{
public class Program
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"ASPNETCORE_ENVIRONMENT": "Development"
}
},
"BethanysPieShopHRM.Server": {
"BethanysPieShopHRM.UI": {
"commandName": "Project",
"launchBrowser": true,
"applicationUrl": "https://localhost:5001;http://localhost:5000",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
using System.Text.Json;
using System.Threading.Tasks;

namespace BethanysPieShopHRM.Server.Services
namespace BethanysPieShopHRM.UI.Services
{
public class CountryDataService : ICountryDataService
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
using System.Threading.Tasks;
using BethanysPieShopHRM.Shared;

namespace BethanysPieShopHRM.Server.Services
namespace BethanysPieShopHRM.UI.Services
{
public class EmailService : IEmailService
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@
using System.Text.Json;
using System.Threading.Tasks;
using BethanysPieShopHRM.Shared;
using Microsoft.AspNetCore.Components;

namespace BethanysPieShopHRM.Server.Services
namespace BethanysPieShopHRM.UI.Services
{
public class EmployeeDataService: IEmployeeDataService
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
using System.Threading.Tasks;
using BethanysPieShopHRM.Shared;

namespace BethanysPieShopHRM.Server.Services
namespace BethanysPieShopHRM.UI.Services
{
public class ExpenseDataService : IExpenseDataService
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
using System.Threading.Tasks;
using BethanysPieShopHRM.Shared;

namespace BethanysPieShopHRM.Server.Services
namespace BethanysPieShopHRM.UI.Services
{
public class JobCategoryDataService : IJobCategoryDataService
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
using System.Threading.Tasks;
using BethanysPieShopHRM.Shared;

namespace BethanysPieShopHRM.Server.Services
namespace BethanysPieShopHRM.UI.Services
{
public class MockEmployeeDataService : IEmployeeDataService
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using BethanysPieShopHRM.Server.Services;
using BethanysPieShopHRM.UI.Services;
using BethanysPieShopHRM.Shared;
using System;
using System.Collections.Generic;
Expand All @@ -8,7 +8,7 @@
using System.Text.Json;
using System.Threading.Tasks;

namespace BethanysPieShopHRM.Server.Data
namespace BethanysPieShopHRM.UI.Data
{
public class SurveyDataService : ISurveyDataService
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
using System.Text.Json;
using System.Threading.Tasks;

namespace BethanysPieShopHRM.Server.Services
namespace BethanysPieShopHRM.UI.Services
{
public class TaskDataService : ITaskDataService
{
Expand Down
File renamed without changes.
Loading

0 comments on commit 445cd48

Please sign in to comment.