Exemple #1
0
 public void DeleteChatMember(Guid id, Guid personId)
 {
     try
     {
         _chatsRepository.DeleteChatMember(personId, id);
     }
     catch (SqlException exception)
     {
         var response = new HttpResponseMessage(HttpStatusCode.NotFound)
         {
             Content = new StringContent(exception.Message)
         };
         throw new HttpResponseException(response);
     }
 }