Ejemplo n.º 1
0
 public static ShortEmployeeModel CreateFromModel(ShortEmployee employee, IEnumerable<ShortEmployeeModel> organisations = null)
 {
     var model = new ShortEmployeeModel();
     model.InitializeModel(employee, organisations);
     return model;
 }
Ejemplo n.º 2
0
 public static ShortEmployeeModel CreateFromOrganisation(Organisation organisation)
 {
     var model = new ShortEmployeeModel();
     model.InitializeOrganisation(organisation);
     return model;
 }