public bool SendMessage(Message message)
 {
     message.LoadUserName(userRepository.GetUser(new User { Name = message.FromUserName })
         , userRepository.GetUser(new User { Name = message.ToUserName }));
     messageRepository.Add(message);
     return messageRepository.Context.Commit();
 }
 public bool DeleteMessage(Message message)
 {
     messageRepository.Remove(message);
     return messageRepository.Context.Commit();
 }