internal async Task <ReplaceOneResult> UpdateFormValue(List <RestaurantFormValue> value) { var form = new RestaurantFormValue(); var entity = form.ParseFormValueToModel(value); return(await _manager.Update(entity)); }
public async Task <RestaurantEntity> FormDataInput(List <RestaurantFormValue> value) { var form = new RestaurantFormValue(); var entity = form.ParseFormValueToModel(value); return(await _manager.Create(entity)); }