Beispiel #1
0
 public static void UpdateStoreWixSiteUrl(this WebStores entity, WixStoreUrlToken token)
 {
     entity.WixSiteUrl = token.WixSiteUrl;
     entity.SiteUrl    = token.WixSiteUrl;
     entity.UpdateOn   = DateTime.Now;
     entity.UpdatedBy  = DtoExtensions.CurrentUserId;
 }
Beispiel #2
0
        public ActionResult UpdateWixStoreUrl(WixStoreUrlToken settings)
        {
            string error;

            var updated = WebstoreWixService.UpdateWixSiteUrl(ref settings, out error);

            return(Json(
                       new {
                success = updated
                , error
            }));
        }