예제 #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));
        }