招聘API
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

37 lines
1020 B

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
{
/// <summary>
/// 通话评价
/// </summary>
[ApiExplorerSettings(IgnoreApi = false)]
public class CallFeedbackController : BaseController
{
private readonly ICallFeedbackService _callFeedbackService;
public CallFeedbackController(ICallFeedbackService callFeedbackService)
{
_callFeedbackService = callFeedbackService;
}
/// <summary>
/// 新增通话评价
/// </summary>
/// <param name="input"></param>
/// <returns></returns>
[HttpPost]
[Route("api/v1/callfeedback")]
public async Task<IResponseOutput> AddCallFeedbackAsync(CallFeedbackAddInput input)
{
return await _callFeedbackService.AddCallFeedbackAsync(input);
}
}
}