Ejemplo n.º 1
0
 public static MucTinResult ToDataResult(this MucTin entity)
 {
     return(new MucTinResult
     {
         Id = entity.Id,
         Ten = entity.Ten,
         MoTa = entity.MoTa,
         CreateDate = entity.CreateDate,
         CreatedBy = entity.CreatedBy,
         IsDeleted = entity.IsDeleted,
         LastUpdated = entity.LastUpdated,
         LastUpdatedBy = entity.LastUpdatedBy
     });
 }
Ejemplo n.º 2
0
 public static MucTinResult ToIfNotNullDataResult(this MucTin entity)
 {
     return(entity?.ToDataResult());
 }