Commit 815af4a2 authored by hasan khaddour's avatar hasan khaddour

Add Customer Contracts

parent 1fcab024
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);
}
......@@ -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(
......
......@@ -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);
}
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);
}
......@@ -4,4 +4,8 @@
<TargetFramework>net5.0</TargetFramework>
</PropertyGroup>
<ItemGroup>
<Folder Include="Customers\Responses\" />
</ItemGroup>
</Project>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment