Exemplo n.º 1
0
        static void Main(string[] args)
        {
            Console.WriteLine("Welcome to Great Outdoors..");



            SalesUser s1 = new SalesUser();

            s1.Name       = "ABC";
            s1.UserName   = "******";
            s1.Email      = "*****@*****.**";
            s1.SalesManID = 12341;

            if (SalesBL.AddSalesUserBL(s1))
            {
                Console.WriteLine(s1.Name);
                Console.WriteLine(s1.UserName);
                Console.WriteLine(s1.Email);
                Console.WriteLine(s1.SalesManID);
            }

            else
            {
                Console.WriteLine("Error in adding salesman");
            }
        }