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