示例#1
0
        internal async Task <ReplaceOneResult> UpdateFormValue(List <RestaurantFormValue> value)
        {
            var form   = new RestaurantFormValue();
            var entity = form.ParseFormValueToModel(value);

            return(await _manager.Update(entity));
        }
示例#2
0
        public async Task <RestaurantEntity> FormDataInput(List <RestaurantFormValue> value)
        {
            var form   = new RestaurantFormValue();
            var entity = form.ParseFormValueToModel(value);

            return(await _manager.Create(entity));
        }