Skip to content
This repository has been archived by the owner on Oct 3, 2022. It is now read-only.

Commit

Permalink
Merge pull request #59 from BinderDyn/develop
Browse files Browse the repository at this point in the history
2.2.0 Charlotte
  • Loading branch information
BinderDyn authored Oct 4, 2020
2 parents ee0cd14 + c45fd0f commit 78cf090
Show file tree
Hide file tree
Showing 46 changed files with 2,215 additions and 6,198 deletions.
Binary file modified .vs/TakeMyTime.NETCore/DesignTimeBuild/.dtbcache
Binary file not shown.
Binary file modified .vs/TakeMyTime.NETCore/v16/.suo
Binary file not shown.
Binary file not shown.
Binary file not shown.
11 changes: 11 additions & 0 deletions TakeMyTime.BLL/Logic/AssignmentLogic.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
using TakeMyTime.DAL.uow;

using TakeMyTime.Models.Models;
using static Common.Enums.EnumDefinition;

namespace TakeMyTime.BLL.Logic
{
Expand Down Expand Up @@ -59,6 +60,16 @@ public void UpdateAssignment(int id, Assignment.IUpdateParam param)
unitOfWork.Complete();
}

public void UpdateAssignmentStatus(int id, AssignmentStatus status)
{
var edit = unitOfWork.Assignments.Get(id);
if (edit != null)
{
edit.UpdateStatus(status);
unitOfWork.Complete();
}
}

public void DeleteAssignment(int id)
{
var toBeDeleted = GetAssignmentById(id);
Expand Down
2 changes: 1 addition & 1 deletion TakeMyTime.BLL/obj/TakeMyTime.BLL.csproj.nuget.cache
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": 1,
"dgSpecHash": "tZ4JLstLxflaK5W8yastjmzy/+9+TnWDYfxfeGh21rssvRSNMNyQCukgKQ8orh4/nwL4IQCzKz77exKJaKPIlQ==",
"dgSpecHash": "xWNeER+R3wBnRMUaXBziXwvZXvRE5hnepLmXR7jkfxsMjIszfwOMYagnhGfzTb3tFKLg6BZALVAAW8J6ERZp0Q==",
"success": true
}
80 changes: 16 additions & 64 deletions TakeMyTime.BLL/obj/TakeMyTime.BLL.csproj.nuget.dgspec.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,29 +59,16 @@
"warn": true,
"downloadDependencies": [
{
"name": "Microsoft.AspNetCore.App.Runtime.win-x64",
"version": "[3.1.1, 3.1.1]"
},
{
"name": "Microsoft.NETCore.App.Runtime.win-x64",
"version": "[3.1.1, 3.1.1]"
},
{
"name": "Microsoft.WindowsDesktop.App.Runtime.win-x64",
"version": "[3.1.1, 3.1.1]"
"name": "Microsoft.AspNetCore.App.Ref",
"version": "[3.1.2, 3.1.2]"
}
],
"frameworkReferences": {
"Microsoft.NETCore.App": {
"privateAssets": "all"
}
},
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\3.1.101\\RuntimeIdentifierGraph.json"
}
},
"runtimes": {
"win-x64": {
"#import": []
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\3.1.300\\RuntimeIdentifierGraph.json"
}
}
},
Expand Down Expand Up @@ -133,29 +120,16 @@
"warn": true,
"downloadDependencies": [
{
"name": "Microsoft.AspNetCore.App.Runtime.win-x64",
"version": "[3.1.1, 3.1.1]"
},
{
"name": "Microsoft.NETCore.App.Runtime.win-x64",
"version": "[3.1.1, 3.1.1]"
},
{
"name": "Microsoft.WindowsDesktop.App.Runtime.win-x64",
"version": "[3.1.1, 3.1.1]"
"name": "Microsoft.AspNetCore.App.Ref",
"version": "[3.1.2, 3.1.2]"
}
],
"frameworkReferences": {
"Microsoft.NETCore.App": {
"privateAssets": "all"
}
},
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\3.1.101\\RuntimeIdentifierGraph.json"
}
},
"runtimes": {
"win-x64": {
"#import": []
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\3.1.300\\RuntimeIdentifierGraph.json"
}
}
},
Expand Down Expand Up @@ -214,6 +188,10 @@
"target": "Package",
"version": "[3.1.0, )"
},
"Microsoft.EntityFrameworkCore.Proxies": {
"target": "Package",
"version": "[3.1.0, )"
},
"Microsoft.EntityFrameworkCore.Relational": {
"target": "Package",
"version": "[3.1.0, )"
Expand Down Expand Up @@ -257,29 +235,16 @@
"warn": true,
"downloadDependencies": [
{
"name": "Microsoft.AspNetCore.App.Runtime.win-x64",
"version": "[3.1.1, 3.1.1]"
},
{
"name": "Microsoft.NETCore.App.Runtime.win-x64",
"version": "[3.1.1, 3.1.1]"
},
{
"name": "Microsoft.WindowsDesktop.App.Runtime.win-x64",
"version": "[3.1.1, 3.1.1]"
"name": "Microsoft.AspNetCore.App.Ref",
"version": "[3.1.2, 3.1.2]"
}
],
"frameworkReferences": {
"Microsoft.NETCore.App": {
"privateAssets": "all"
}
},
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\3.1.101\\RuntimeIdentifierGraph.json"
}
},
"runtimes": {
"win-x64": {
"#import": []
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\3.1.300\\RuntimeIdentifierGraph.json"
}
}
},
Expand Down Expand Up @@ -335,29 +300,16 @@
"warn": true,
"downloadDependencies": [
{
"name": "Microsoft.AspNetCore.App.Runtime.win-x64",
"version": "[3.1.1, 3.1.1]"
},
{
"name": "Microsoft.NETCore.App.Runtime.win-x64",
"version": "[3.1.1, 3.1.1]"
},
{
"name": "Microsoft.WindowsDesktop.App.Runtime.win-x64",
"version": "[3.1.1, 3.1.1]"
"name": "Microsoft.AspNetCore.App.Ref",
"version": "[3.1.2, 3.1.2]"
}
],
"frameworkReferences": {
"Microsoft.NETCore.App": {
"privateAssets": "all"
}
},
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\3.1.101\\RuntimeIdentifierGraph.json"
}
},
"runtimes": {
"win-x64": {
"#import": []
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\3.1.300\\RuntimeIdentifierGraph.json"
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion TakeMyTime.BLL/obj/TakeMyTime.BLL.csproj.nuget.g.props
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">$(UserProfile)\.nuget\packages\</NuGetPackageRoot>
<NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">C:\Users\marvi\.nuget\packages\;C:\Program Files\dotnet\sdk\NuGetFallbackFolder</NuGetPackageFolders>
<NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">5.4.0</NuGetToolVersion>
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">5.6.0</NuGetToolVersion>
</PropertyGroup>
<PropertyGroup>
<MSBuildAllProjects>$(MSBuildAllProjects);$(MSBuildThisFileFullPath)</MSBuildAllProjects>
Expand Down
Loading

0 comments on commit 78cf090

Please sign in to comment.