public virtual async Task <IActionResult> OnPostAsync() { var dto = ObjectMapper.Map <CreateReviewViewModel, CreateReviewDto>(ViewModel); await _service.CreateAsync(dto); return(NoContent()); }
public virtual Task <ReviewDto> CreateAsync(CreateReviewDto input) { return(_service.CreateAsync(input)); }
public Task <ReviewDto> CreateAsync(ReviewCreateUpdateDto input) { return(_service.CreateAsync(input)); }