Exemplo n.º 1
0
 public GetDbContent(DbContext context)
 {
     try
     {
         _context = context;
         _dbSet   = _context.Set <TEntity>();
     } catch (Exception ex)
     {
         Logs.LogText = ex.Message;
         Logs.WrineEventLogError();
     }
 }
Exemplo n.º 2
0
 public void Start()
 {
     try
     {
         Listener.Start();
         while (true)
         {
         }
     }catch (Exception ex)
     {
         Logs.LogText = ex.Message;
         Logs.WrineEventLogError();
     }
 }