Пример #1
0
        public IHttpActionResult SendEmail(EmailMessageDto messageDto)
        {
            messageDto.Sender = new ApplicationUserDto()
            {
                Id = User.Identity.GetUserId()
            };

            var result = _messageService.SendMessage(messageDto);

            return(this.ReturnHttpResponse(result));
        }