Esempio n. 1
0
 public Area EntityToModel(HR_AREA entity)
 {
     if (entity != null)
     {
         var model = new Area();
         return(model);
     }
     return(null);
 }
Esempio n. 2
0
 private Area EntityToModel(HR_AREA model)
 {
     if (model != null)
     {
         var entity = new Area()
         {
             //AreaId = model.AREAID,
             //AreaName = model.AREANAME,
             //ParentId = model.PARENTID
         };
         return(entity);
     }
     return(null);
 }