Ejemplo n.º 1
0
        public async Task Send(string message, string fromFile)
        {
            var pc = new PowerBIProducerCommands(CurrentContext, service);

            if (fromFile != null)
            {
                await pc.SendFromFile(fromFile);
            }
            else
            {
                await pc.Send(message);
            }
        }