public int Create(CreateAnswerRequestModel model) { return(_repo.Create(_mapper.Map <Answer>(model))); }
public IActionResult Create(CreateAnswerRequestModel model) { return(Ok(_answer.Create(model))); }
public int Create(CreateAnswerRequestModel model) { return(_repo.Create(_mapper.Map <Answer>(model))); }
public IActionResult Create(CreateAnswerRequestModel model) { return(Ok(_answer.Create(model))); }