public void NUnit_CutOffDuration_Domain_Add()
 {
     Att_CutOffDurationServices service = new Att_CutOffDurationServices();
     var result = "";
     int countSC = 0;
     for (int i = 1; i <= 10; i++)
     {
         var model = new Att_CutOffDuration
         {
             
             CutOffDurationName = "CutOffDurationName : " + 1,
             MonthYear = DateTime.Now,
             DateStart = DateTime.Now,
             DateEnd = DateTime.Now,
             IsInsuranceSocial = true
         };
         result = service.Add<Att_CutOffDuration>(model);
         NUnit.Framework.Assert.IsNull(result);
         if (result != "")
         {
             countSC += 1;
             Console.WriteLine("Process Success >>> Create >>> " + model.Id
                 );
         }
     }
     Console.WriteLine("Total success record: " + countSC);
 }
        public void NUnit_CutOffDuration_Domain_Add()
        {
            Att_CutOffDurationServices service = new Att_CutOffDurationServices();
            var result  = "";
            int countSC = 0;

            for (int i = 1; i <= 10; i++)
            {
                var model = new Att_CutOffDuration
                {
                    CutOffDurationName = "CutOffDurationName : " + 1,
                    MonthYear          = DateTime.Now,
                    DateStart          = DateTime.Now,
                    DateEnd            = DateTime.Now,
                    IsInsuranceSocial  = true
                };
                result = service.Add <Att_CutOffDuration>(model);
                NUnit.Framework.Assert.IsNull(result);
                if (result != "")
                {
                    countSC += 1;
                    Console.WriteLine("Process Success >>> Create >>> " + model.Id
                                      );
                }
            }
            Console.WriteLine("Total success record: " + countSC);
        }