public void ExecuteCore(ReadBuffer request, IClientConnection client, IClientsManager clientsManager)
        {
            Request = request;
            Client = client;
            ClientsManager = clientsManager;

            try
            {
                Execute();
            }
            catch (Exception)
            {

            }
        }
 public void Activate(ReadBuffer readBuffer)
 {
     try
     {
         // get packet id
         int packetId = readBuffer.ReadInteger();
         Type controllerType = ControllerResolver.Resolve(packetId);
         if (controllerType != null)
         {
             ControllerBaseAbstract controller = ControllerFactory.CreateInstance(controllerType);
             controller.ExecuteCore(readBuffer, _client, _clientsManager);
         }
     }
     catch
     {
         // do nothing
     }
 }