Exemplo n.º 1
0
 public void NUnit_Domain_UpdateCatPosition()
 {
     Cat_PositionServices service = new Cat_PositionServices();
     var position = new Cat_Position
     {
         Id = 1,
         PositionName = "ABCDomain1234",
         PositionCode = "abc1234",
         Description = "NUnit Test1234"
     };
     string result = service.Edit(position);
     if (result!= string.Empty)
     {
         Console.WriteLine("==>>> Result After Update:  " + position.Id + " | " + position.PositionName + " | " + position.PositionCode + " | " + position.Description);
     }
 }
Exemplo n.º 2
0
        public void NUnit_Domain_UpdateCatPosition()
        {
            Cat_PositionServices service = new Cat_PositionServices();
            var position = new Cat_Position
            {
                Id           = 1,
                PositionName = "ABCDomain1234",
                PositionCode = "abc1234",
                Description  = "NUnit Test1234"
            };
            string result = service.Edit(position);

            if (result != string.Empty)
            {
                Console.WriteLine("==>>> Result After Update:  " + position.Id + " | " + position.PositionName + " | " + position.PositionCode + " | " + position.Description);
            }
        }