예제 #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
     });
 }
예제 #2
0
 public static MucTinResult ToIfNotNullDataResult(this MucTin entity)
 {
     return(entity?.ToDataResult());
 }