Exemplo n.º 1
0
 public static EmployeeAddress ToModel(this EmployeeAddressEditViewModel model)
 {
     return(new EmployeeAddress
     {
         ID = model.ID,
         City = model.City,
         Governate = model.Governate,
         Region = model.Region,
         Street = model.Street,
         EmployeeID = model.EmployeeID
     });
 }