Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
ProjectsStatusManagement
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
hasan.bahjat
ProjectsStatusManagement
Commits
815af4a2
Commit
815af4a2
authored
Jul 28, 2024
by
hasan khaddour
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add Customer Contracts
parent
1fcab024
Changes
7
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
40 additions
and
4 deletions
+40
-4
RegisterRequest.cs
...ment.Contracts/Authentication/Requests/RegisterRequest.cs
+0
-0
AuthenticationResponse.cs
...tracts/Authentication/Responses/AuthenticationResponse.cs
+0
-0
AddContactInfoRequest.cs
...ent.Contracts/Customers/Requests/AddContactInfoRequest.cs
+10
-0
CreateCustomerRequest.cs
...ent.Contracts/Customers/Requests/CreateCustomerRequest.cs
+2
-4
DeleteCustomerRequest.cs
...ent.Contracts/Customers/Requests/DeleteCustomerRequest.cs
+10
-0
UpdateCustomerRequest.cs
...ent.Contracts/Customers/Requests/UpdateCustomerRequest.cs
+14
-0
PSManagement.Contracts.csproj
PSManagement.Contracts/PSManagement.Contracts.csproj
+4
-0
No files found.
PSManagement.Contracts/Authentication/RegisterRequest.cs
→
PSManagement.Contracts/Authentication/Re
quests/Re
gisterRequest.cs
View file @
815af4a2
File moved
PSManagement.Contracts/Authentication/AuthenticationResponse.cs
→
PSManagement.Contracts/Authentication/
Responses/
AuthenticationResponse.cs
View file @
815af4a2
File moved
PSManagement.Contracts/Customers/Requests/AddContactInfoRequest.cs
0 → 100644
View file @
815af4a2
using
System
;
using
System.Collections.Generic
;
using
System.Linq
;
using
System.Text
;
using
System.Threading.Tasks
;
namespace
PSManagement.Contracts.Customers.Requests
{
public
record
AddContactInfoRequest
(
int
CustomerId
,
String
ContactType
,
String
ContactValue
);
}
PSManagement.Contracts/Customers/Requests/CreateCustomerRequest.cs
View file @
815af4a2
...
...
@@ -8,10 +8,8 @@ namespace PSManagement.Contracts.Customers.Requests
{
public
record
CreateCustomerRequest
(
String
CustomerName
,
String
StreetName
,
int
StreetNumber
,
int
ZipCode
,
String
City
AddressRecord
Address
,
String
Email
);
public
record
AddressRecord
(
...
...
PSManagement.Contracts/
Authentication/Login
Request.cs
→
PSManagement.Contracts/
Customers/Requests/DeleteCustomer
Request.cs
View file @
815af4a2
...
...
@@ -4,10 +4,7 @@ using System.Linq;
using
System.Text
;
using
System.Threading.Tasks
;
namespace
PSManagement.Contracts.
Authentication
namespace
PSManagement.Contracts.
Customers.Requests
{
public
record
LoginRequest
(
String
Email
,
String
PassWord
);
public
record
DeleteCustomerRequest
(
int
CustomerId
);
}
PSManagement.Contracts/Customers/Requests/UpdateCustomerRequest.cs
0 → 100644
View file @
815af4a2
using
System
;
using
System.Collections.Generic
;
using
System.Linq
;
using
System.Text
;
using
System.Threading.Tasks
;
namespace
PSManagement.Contracts.Customers.Requests
{
public
record
UpdateCustomerRequest
(
int
CustomerId
,
String
CustomerName
,
AddressRecord
Address
,
String
Email
);
}
PSManagement.Contracts/PSManagement.Contracts.csproj
View file @
815af4a2
...
...
@@ -4,4 +4,8 @@
<TargetFramework>net5.0</TargetFramework>
</PropertyGroup>
<ItemGroup>
<Folder Include="Customers\Responses\" />
</ItemGroup>
</Project>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment