public List <permohonan> GetPermohonans() { if (BidangTugas == null) { throw new SystemException("Anda Tidak Memiliki Bidang tugas"); } else { return(BidangUnitOfWork.GetAllPermohonan(BidangTugas)); } }
public bool ChangeWork(permohonan permohonan, progress tahapan) { if (permohonan == null || tahapan == null) { throw new SystemException("permohonan atau tahapan tidak ada"); } else { return(BidangUnitOfWork.ChangeWork(permohonan, tahapan)); } }
public List <tahapan> GetTahapans() { if (BidangTugas == null) { throw new SystemException("Anda Tidak Memiliki Bidang tugas"); } else { return(BidangUnitOfWork.GetTahapanTugasBidang(BidangTugas)); } }