Beispiel #1
0
 public IEnumerable<BUEventLog> GetBUEventLogByCabang(string kdkc)
 {
     using (var db = new LegalMailerContext())
     {
         return db.BUEventLogs.Where(a => a.KDKC == kdkc).ToList();
     }
 }
Beispiel #2
0
        protected override void Initialize(RequestContext requestContext)
        {
            if (db == null) { db = new LegalMailerContext(); }

            base.Initialize(requestContext);
        }