public static MucDoHoanThanhResult ToDataResult(this MucDoHoanThanh entity)
 {
     return(new MucDoHoanThanhResult
     {
         Id = entity.Id,
         Ten = entity.Ten,
         MoTa = entity.MoTa,
         CreateDate = entity.CreateDate,
         CreatedBy = entity.CreatedBy,
         IsDeleted = entity.IsDeleted,
         LastUpdated = entity.LastUpdated,
         LastUpdatedBy = entity.LastUpdatedBy
     });
 }
 public static MucDoHoanThanhResult ToIfNotNullDataResult(this MucDoHoanThanh entity)
 {
     return(entity?.ToDataResult());
 }