Exemple #1
0
 public static PMS.Model.DTO.Core.Master.Role MapStatusEntityToDTO(PMS.Model.Context.MST_ROLE entity)
 {
     PMS.Model.DTO.Core.Master.Role obj_dto = new DTO.Core.Master.Role()
     {
         Id          = entity.ID,
         Name        = entity.NAME,
         Code        = entity.CODE,
         Description = entity.DESCRIPTION,
         Active      = entity.ACTIVE
     };
     return(obj_dto);
 }
Exemple #2
0
 public static PMS.Model.DTO.Core.Master.Role MapStatusEntityToDTO(PMS.Model.Context.MST_ROLE entity)
 {
     PMS.Model.DTO.Core.Master.Role obj_dto = new DTO.Core.Master.Role()
     {
         Id = entity.ID,
         Name = entity.NAME,
         Code = entity.CODE,
         Description = entity.DESCRIPTION,
         Active = entity.ACTIVE
     };
     return obj_dto;
 }