예제 #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;
 }
예제 #2
0
 //Constructor
 public ShopDto(int id, AddressesDto address)
 {
     Id      = id;
     Address = address;
 }
예제 #3
0
 //Insert Constructor
 public ShopDto(AddressesDto address)
 {
     Address = address;
 }