Example #1
0
 public static CongViecQuaTrinhXuLyResult ToDataResult(this CongViec_QuaTrinhXuLy entity)
 {
     return(new CongViecQuaTrinhXuLyResult
     {
         Id = entity.Id,
         HoSoCongViec = entity.HoSoCongViec.ToDataInfo(),
         HoSoCongViecId = entity.HoSoCongViecId,
         PhutBanHanh = entity.PhutBanHanh,
         GioBanHanh = entity.GioBanHanh,
         NgayBanHanh = entity.NgayBanHanh,
         NguoiThem = entity.NguoiThem,
         NhacNho = entity.NhacNho,
         NoiDung = entity.NoiDung,
         CreateDate = entity.CreateDate,
         CreatedBy = entity.CreatedBy,
         IsDeleted = entity.IsDeleted,
         LastUpdated = entity.LastUpdated,
         LastUpdatedBy = entity.LastUpdatedBy
     });
 }
Example #2
0
 public static CongViecQuaTrinhXuLyResult ToIfNotNullDataResult(this CongViec_QuaTrinhXuLy entity)
 {
     return(entity?.ToDataResult());
 }