Пример #1
0
 /// <summary>
 /// Delete answer
 /// </summary>
 /// <param name="answerId"></param>
 /// <returns></returns>
 public AnswerDTO Delete(Guid answerId)
 {
     try
     {
         return(answerData.Delete(answerId));
     }
     catch (NoSuchAnswerFound)
     {
         throw new NoSuchAnswerFound();
     }
     catch
     {
         return(null);
     }
 }