public void SendMessageTest()
        {
            IRepository repo = new EFRepository();
            MessageService ms = new MessageService(repo);
            Guid author = new Guid("37519c07-acd4-e011-ad03-206a8a339500");
            Guid[] recipients = new Guid[] {
                new Guid("d0293215-1dd7-e011-ae1d-206a8a339500"),
                new Guid("45d03989-9fd8-e011-813c-206a8a339500") };

            ms.SendMessage("blablabla", "blablablbla?", author, recipients);
        }
 public SendMessageResponse SendMessage(SendMessageRequest sendMsgReq)
 {
     SendMessageResponse response = new SendMessageResponse();
     MessageService msgSvc = new MessageService(_repository);
     try
     {
         msgSvc.SendMessage(sendMsgReq.Subject, sendMsgReq.Body, _currentTravelerId, new Guid[] { new Guid(sendMsgReq.RecipientID) });
         response.MarkSuccess();
     }
     catch (Exception ex)
     {
         ReportError(ex, response);
     }
     return response;
 }
        public void SendMessage_With_Invalid_Recipients()
        {
            IRepository repo = new EFRepository();
            MessageService ms = new MessageService(repo);
            Guid author = new Guid("37519c07-acd4-e011-ad03-206a8a339500");
            Guid[] recipients = new Guid[] { new Guid("11111111-1111-1111-1111-111111111111") };

            ms.SendMessage("blablabla", "blablablbla?", author, recipients);
        }
        public void SendMessage_With_Invalid_AuthorID()
        {
            IRepository repo = new EFRepository();
            MessageService ms = new MessageService(repo);
            Guid author = new Guid("11111111-1111-1111-1111-111111111111");
            Guid[] recipients = new Guid[] {
                new Guid("d0293215-1dd7-e011-ae1d-206a8a339500"),
                new Guid("45d03989-9fd8-e011-813c-206a8a339500") };

            ms.SendMessage("blablabla", "blablablbla?", author, recipients);
        }