Exemple #1
0
        public static CompanyDTO TestIfMappingWorks(CompanyDTO companyDto)
        {
            companyDto = new CompanyDTO()
            {
                CompanyAddress     = "Stockholm,Sweden",
                CompanyCreatedAt   = DateTime.UtcNow.Date,
                CompanyName        = "Test Company",
                CompanyWebsite     = "www.testcompany.com",
                ContactPersonEmail = "*****@*****.**",
                ContactPersonName  = "Company Contact Name",
                HasMultipleBranch  = false,
                VAT = "12345678",
            };

            return(companyDto);
        }
        //public CompanyDM CompanyDm { get; set; }

        public BusinessLogic(CompanyDTO dto)
        {
            CompanyDto = dto;
            //CompanyDm = dm;
        }