Beispiel #1
0
        public async Task <IActionResult> AddReply(int questionid, int answerid, [FromBody] TextExtension reply)
        {
            repository.AddAnswerReply(questionid, answerid, reply);
            await unitOfWork.CompleteAsync();

            return(Ok(reply));
        }