working customer post, get and delete

This commit is contained in:
2023-06-07 14:47:00 +02:00
parent ad998e0499
commit c805ce20a8
26 changed files with 448 additions and 142 deletions

View File

@@ -4,11 +4,23 @@ using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AB.Domain.Entities
{
public class Customer
{
Guid coutomerId;
namespace AB.Domain.Entities;
public class Customer
{
public Guid CustomerId { get; set; }
public string Salutation { get; set; }
public string Name1 { get; set; }
public string Name2 { get; set; }
public string Email { get; set; }
public string Iban { get; set; }
public string PhoneNumber { get; set; }
}
}

View File

@@ -4,11 +4,10 @@ using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AB.Domain.Entities
{
public class Product
{
Guid productId;
namespace AB.Domain.Entities;
public class Product
{
public Guid ProductId { get; set; }
}
}

View File

@@ -4,11 +4,10 @@ using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AB.Domain.Entities
{
public class Supplier
{
namespace AB.Domain.Entities;
Guid supplierId;
}
public class Supplier
{
public Guid SupplierId { get; set; }
}