public static OutputModel getOutputModel(ResponseCallBack o)
        {
            Type[] typeClass = o.GetType().GetInterfaces();

            try
            {
                if (typeClass[0] is Type)
                {
                    Type actualType = (Type)typeClass[0].GetType().GetGenericTypeDefinition().GetGenericArguments().First();
                    return((OutputModel)Activator.CreateInstance(actualType));
                }
                else
                {
                    return((OutputModel)Activator.CreateInstance(typeof(OutputModel)));
                }
            }
            catch (Exception e)
            {
                throw new QCException(e.Message);
            }
        }