Example #1
0
 public NotificacionesRepository()
 {
     _ctx        = new NotificacionesContext();
     clienteRepo = new ClienteRepository();
 }
 public NotificacionesRepository()
 {
     _ctx = new NotificacionesContext();
     clienteRepo = new ClienteRepository();
 }
 public NotificacionesHub()
 {
     _repoNotificaciones = new NotificacionesRepository();
     _clienteRepository = new ClienteRepository();
 }
 public AplicacionesController()
 {
     _repoCLiente = new ClienteRepository();
 }
 private void updateAppField(NotificacionModel notificacionModel)
 {
     var _repoCliente = new ClienteRepository();
     var cliente = _repoCliente.FindClient(notificacionModel.Aplicacion);
     if (cliente != null)
         notificacionModel.AplicacionId = cliente.Id;
 }