public async Task <PartialViewResult> CreateOrUpdateQuickMenuItemModal(long?id) { IGenericAppService genericAppService = this._genericAppService; NullableIdInput <long> nullableIdInput = new NullableIdInput <long>() { Id = id }; GetQuickMenuItemForEditOutput quickMenuItemForEdit = await genericAppService.GetQuickMenuItemForEdit(nullableIdInput); return(this.PartialView("_CreateOrUpdateQuickMenuItemModal", new CreateOrUpdateQuickMenuItemModalViewModel(quickMenuItemForEdit))); }
public CreateOrUpdateQuickMenuItemModalViewModel(GetQuickMenuItemForEditOutput output) { output.MapTo <GetQuickMenuItemForEditOutput, CreateOrUpdateQuickMenuItemModalViewModel>(this); }