From a408872bdc1a7f459c421fd319c51239c2edb525 Mon Sep 17 00:00:00 2001 From: Kaan Date: Thu, 5 Jun 2025 05:06:38 +0200 Subject: [PATCH] Made all properties nullable for now. Will fix later when more functionality is added and workflow can be adapted to properly test functionality --- Models/Company.cs | 12 ++++++------ Models/Customer.cs | 4 ++-- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Models/Company.cs b/Models/Company.cs index f7bdccd..6db5e5f 100644 --- a/Models/Company.cs +++ b/Models/Company.cs @@ -4,13 +4,13 @@ namespace Invoice_App.Models; public class Company { - public string CompanyName { get; set; } + public string? CompanyName { get; set; } public string? LogoPath { get; set; } - public string Address { get; set; } - public string ZipCode { get; set; } - public string City { get; set; } - public string CVR { get; set; } - public string PhoneNumber { get; set; } + public string? Address { get; set; } + public string? ZipCode { get; set; } + public string? City { get; set; } + public string? CVR { get; set; } + public string? PhoneNumber { get; set; } public string? AccountRegistration { get; set; } public string? AccountNumber { get; set; } } \ No newline at end of file diff --git a/Models/Customer.cs b/Models/Customer.cs index 4397e77..e41cfc4 100644 --- a/Models/Customer.cs +++ b/Models/Customer.cs @@ -2,8 +2,8 @@ public class Customer { - public string Name { get; set; } - public string Address { get; set; } + public string? Name { get; set; } + public string? Address { get; set; } public string? ZipCode { get; set; } public string? City { get; set; } public string? PhoneNumber { get; set; }