Пример #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);
     }
 }
Пример #2
0
        static void Main(string[] args)
        {
            Xpert xpert = new Xpert();

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