Esempio n. 1
0
 public static Model.Context.TASK MapTaskDTOToEntity(Model.DTO.Core.Task.Task dto)
 {
     Model.Context.TASK obj_entity = new Context.TASK()
     {
         ID        = dto.Id,
         MODULE_ID = dto.Module.Id,
         RECORD_ID = dto.RecordId,
         STATUS_ID = dto.Status.Id,
         NAME      = dto.Name,
         ADDRESS   = dto.Address
     };
     return(obj_entity);
 }
Esempio n. 2
0
 public static Model.Context.TASK MapTaskDTOToEntity(Model.DTO.Core.Task.Task dto)
 {
     Model.Context.TASK obj_entity = new Context.TASK()
     {
         ID = dto.Id,
         MODULE_ID = dto.Module.Id,
         RECORD_ID = dto.RecordId,
         STATUS_ID = dto.Status.Id,
         NAME = dto.Name,
         ADDRESS = dto.Address
     };
     return obj_entity;
 }