コード例 #1
0
        public async Task<ActionResult> Feedback(ContactUsForm model)
        {
            await _storeModuleApi.StoreModuleSendDynamicNotificationAnStoreEmailAsync(model.ToServiceModel(WorkContext));

            return new HttpStatusCodeResult(HttpStatusCode.OK);
        }
コード例 #2
0
 public async Task<ActionResult> СontactUs(ContactUsForm model, string viewName = "page.contact")
 {
     await _storeModuleApi.StoreModuleSendDynamicNotificationAnStoreEmailAsync(model.ToServiceModel(base.WorkContext));
     WorkContext.ContactUsForm = model;
     return View(viewName, base.WorkContext);
 }