public void Common_CreateNewMessage(int senderId, string messageSubject, int receiverId, string messageContent)
    {
        CreateNewMessageBO objCreateNewMessageBO = new CreateNewMessageBO();
        objCreateNewMessageBO.senderId = senderId;
        objCreateNewMessageBO.receiverId = receiverId;
        objCreateNewMessageBO.messageContent = messageContent;
        objCreateNewMessageBO.messageSubject = messageSubject;

        CreateNewMessageDL objCreateNewMessageDL = new CreateNewMessageDL();
        objCreateNewMessageDL.CreateNewMessage(objCreateNewMessageBO);
    }
Exemplo n.º 2
0
    public void Common_CreateNewMessage(int senderId, string messageSubject, int receiverId, string messageContent)
    {
        CreateNewMessageBO objCreateNewMessageBO = new CreateNewMessageBO();

        objCreateNewMessageBO.senderId       = senderId;
        objCreateNewMessageBO.receiverId     = receiverId;
        objCreateNewMessageBO.messageContent = messageContent;
        objCreateNewMessageBO.messageSubject = messageSubject;

        CreateNewMessageDL objCreateNewMessageDL = new CreateNewMessageDL();

        objCreateNewMessageDL.CreateNewMessage(objCreateNewMessageBO);
    }