Ejemplo n.º 1
0
        public async Task <IHttpActionResult> AddFeedBack(FeedBackDto dto)
        {
            dto.UserInfoId = OperatorId;
            var result = await UserContract.SaveFeedBacks(dtos : dto);

            return(Json(new ApiResult(result.ResultType, "反馈成功")));
        }
Ejemplo n.º 2
0
        public async Task <ActionResult> AddFeedBack(string content)
        {
            var dto = new FeedBackDto {
                UserInfoId = OperatorId, Content = content
            };
            var result = await UserContract.SaveFeedBacks(dtos : dto);

            return(Json(new ApiResult(result.ResultType, "反馈成功")));
        }