Exemplo n.º 1
0
        public void NUnit_HDTJob_Domain_Edit()
        {
            Hre_HDTJobServices service = new Hre_HDTJobServices();
            var model = new Hre_HDTJob
            {
                Id          = 3,
                ProfileID   = 1,
                HDTType     = "Update HDTType",
                Description = "Update Description",
                DateFrom    = DateTime.Parse("2014/04/03")
            };
            string result = service.Edit(model);

            if (result != string.Empty)
            {
                Console.WriteLine("Process Success >>> Update >>> " + model.Id
                                  + " | " + model.ProfileID
                                  + " | " + model.DateFrom
                                  + " | " + model.DateTo
                                  + " | " + model.HDTType
                                  + " | " + model.Description
                                  );
            }
        }
Exemplo n.º 2
0
        public void NUnit_HDTJob_Domain_Edit()
        {
            Hre_HDTJobServices service = new Hre_HDTJobServices();
            var model = new Hre_HDTJob
            {
                Id = 3,
                ProfileID = 1,
                HDTType = "Update HDTType",
                Description = "Update Description",
                DateFrom = DateTime.Parse("2014/04/03")

            };
            string result = service.Edit(model);
            if (result != string.Empty)
            {
                Console.WriteLine("Process Success >>> Update >>> " + model.Id
                        + " | " + model.ProfileID
                        + " | " + model.DateFrom
                        + " | " + model.DateTo
                        + " | " + model.HDTType
                        + " | " + model.Description
                        );
            }
        }