Example #1
0
        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)));
        }
Example #2
0
 public CreateOrUpdateQuickMenuItemModalViewModel(GetQuickMenuItemForEditOutput output)
 {
     output.MapTo <GetQuickMenuItemForEditOutput, CreateOrUpdateQuickMenuItemModalViewModel>(this);
 }