Пример #1
0
 public void UpdateChristmas2015Event1(Christmas2015EventModel entry)
 {
     repository.UpdateChristmas2015WinById(new Domain.Entities.Christmas2015.Christmas2015Win {
         Id       = entry.WinEvent.WinId,
         Name     = entry.WinEvent.Name,
         Mobile   = entry.WinEvent.Mobile,
         Zipcode  = entry.WinEvent.ZipCode,
         Address1 = entry.WinEvent.Address1,
         Address2 = entry.WinEvent.Address2,
     });
 }
Пример #2
0
        public long SaveChristmas2015Event2(Christmas2015EventModel entry)
        {
            return(-1);

            //var saveData = repository.CreateChristmas2015MakeTree(new Domain.Entities.Christmas2015.Christmas2015MakeTree {
            //    Name = entry.TreeEvent.Name,
            //    Mobile = entry.TreeEvent.Mobile,
            //    Zipcode = entry.TreeEvent.ZipCode,
            //    Address1 = entry.TreeEvent.Address1,
            //    Address2 = entry.TreeEvent.Address2,
            //    Age = entry.TreeEvent.Age,
            //    IpAddress = common.ClientIP,
            //    Channel = HttpContext.Current.Request.Browser.IsMobileDevice ? "mobile" : "web",
            //    RegisterDate = common.Now
            //});
            //return saveData.Id;
        }