public ActionResult <List <TypeOfReactionDto> > GetAllTypesOfReaction([FromHeader(Name = "CommunicationKey")] string key)
        {
            var types = typeOfReactionRepository.GetAllTypesOfReaction();

            if (types == null)
            {
                return(StatusCode(StatusCodes.Status404NotFound, "There is no types of reaction."));
            }

            return(Ok(mapper.Map <List <TypeOfReactionDto> >(types)));
        }