Пример #1
0
        public void SendReview(Review review, int loggedInUserId, string mailReason)
        {
            AccountLogic AC              = new AccountLogic();
            Account      loggedInAgent   = AC.GetAccountById(loggedInUserId);
            Account      invitedRockstar = AccountLogic.GetAccountById(review.UserId);

            MailLogic.SendMailReviewInvite(loggedInAgent, invitedRockstar, review.Company, mailReason);

            _sendReviewContext.SendReview(review);
        }