Exemple #1
0
 public IActionResult Index(mod incomingMod)
 {
     if(incomingMod.msge == null)
     {
         mod obj = new mod();
         obj.msge = Xpert.Advice()+ "and";
         return View(obj);
     }
     else
     {
         return View(incomingMod);
     }
 }
Exemple #2
0
        static void Main(string[] args)
        {
            Xpert xpert = new Xpert();

            Console.WriteLine(xpert.Advice());
        }