示例#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;
 }