/// <summary> /// Creates messages /// TODO - should be MessageViewModel instead of domain Message model /// </summary> /// <param name="messages">List of messsages</param> /// <returns>true if messages have been successfully created otherwise false</returns> public bool AddMessages(List <Message> messages) { try { return(MessageManager.AddMessages(messages)); } catch (Exception ex) { ExceptionManager.HandleException(ex, PolicyNameType.ExceptionReplacing); } return(false); }