Exemple #1
0
 public EmployeeDto(string firstName, string lastName, string accountNr, string reg, string phone, AddressesDto address, DepartmentDto department, ShopDto shop, string email = "ingen")
 {
     FirstName   = firstName;
     LastName    = lastName;
     AccountNr   = accountNr;
     Reg         = reg;
     Email       = email;
     Phone       = phone;
     Address     = address;
     Departments = department;
     Shop        = shop;
 }
Exemple #2
0
 //Constructor
 public ShopDto(int id, AddressesDto address)
 {
     Id      = id;
     Address = address;
 }
Exemple #3
0
 //Insert Constructor
 public ShopDto(AddressesDto address)
 {
     Address = address;
 }