Example #1
0
 public BidangEn GetSelectedBidang(string argEn)
 {
     try
     {
         BidangDAL loDs = new BidangDAL();
         return(loDs.GetSelectedBidang(argEn));
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
Example #2
0
 public List <BidangEn> GetBidangList(BidangEn argEn)
 {
     try
     {
         BidangDAL loDs = new BidangDAL();
         return(loDs.GetBidangList(argEn));
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
Example #3
0
        public bool Update(BidangEn argEn)
        {
            bool flag;

            using (TransactionScope ts = new TransactionScope())
            {
                try
                {
                    BidangDAL loDs = new BidangDAL();
                    flag = loDs.Update(argEn);
                    ts.Complete();
                }
                catch (Exception ex)
                {
                    throw ex;
                }
            }
            return(flag);
        }