public async Task<ActionResult> Feedback(ContactUsForm model) { await _storeModuleApi.StoreModuleSendDynamicNotificationAnStoreEmailAsync(model.ToServiceModel(WorkContext)); return new HttpStatusCodeResult(HttpStatusCode.OK); }
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); }