using Microsoft.AspNetCore.Mvc; using System.Threading.Tasks; using Znyc.Recruitment.Common.Output; using Znyc.Recruitment.Controllers; using Znyc.Recruitment.Service; namespace Znyc.Recruitment.Api.Controllers { /// /// 通话评价 /// [ApiExplorerSettings(IgnoreApi = false)] public class CallFeedbackController : BaseController { private readonly ICallFeedbackService _callFeedbackService; public CallFeedbackController(ICallFeedbackService callFeedbackService) { _callFeedbackService = callFeedbackService; } /// /// 新增通话评价 /// /// /// [HttpPost] [Route("api/v1/callfeedback")] public async Task AddCallFeedbackAsync(CallFeedbackAddInput input) { return await _callFeedbackService.AddCallFeedbackAsync(input); } } }