private static string CreateShareReminderEmail(ORGANIZATION organization, TEAMEVENT teamEvent)
        {
            var result = new System.Text.StringBuilder();

            result.AppendLine("<p>Friendly Reminder,</p>");
            result.AppendLine("<p>" + organization.NAME + " sent out paperwork for " + teamEvent.NAME + " by either email or will be sending them home with your child. These documents need to be filled out and sent back via " + organization.NAME + " MyFile-IT EventDoc Box as soon as possible.</p>");
            result.AppendLine("<p>You can do this by logging in to MyFile-IT APP and (SNAP) taking a picture of the filled-out documents and saving them (SAVE). Then (SHARE) share the documents with the organization’s event.  We know you’re busy but if you could take 5 minutes and share these documents with us, we would appreciate it. If you have any questions, please contact " + organization.CONTACTPERSON + "</p>");

            return(result.ToString());

            /*
             * Friendly Reminder,
             *
             * <Organization> sent out paperwork for <event name> by either email or will be sending them home with your child. These documents need to be filled out and sent back via <organization> MyFile-IT EventDoc Box as soon as possible.
             *
             * You can do this by logging in to MyFile-IT APP and (SNAP) taking a picture of the filled-out documents and saving them (SAVE). Then (SHARE) share the documents with the organization’s event.  We know you’re busy but if you could take 5 minutes and share these documents with us, we would appreciate it. If you have any questions, please contact <assigned person to the event> */
        }
        public TeamEventDTO(TEAMEVENT teamEventEF)
        {
            ID             = teamEventEF.ID;
            ORGANIZATIONID = teamEventEF.ORGANIZATIONID;

            var organizationName = "";

            using (var db = new MyFileItEntities()) {
                organizationName = db.ORGANIZATIONs.Single(o => o.ID == teamEventEF.ORGANIZATIONID).NAME;
            }

            OrganizationName = organizationName;//teamEventEF.ORGANIZATION.NAME;
            NAME             = teamEventEF.NAME;
            YEARCODE         = teamEventEF.YEARCODE;
            STARTDATE        = teamEventEF.STARTDATE;
            EXPIRESDATE      = teamEventEF.EXPIRESDATE;
            DATECREATED      = teamEventEF.DATECREATED;
            ISDELETED        = teamEventEF.ISDELETED;
        }
        public static bool SendShareReminderEmail(APPUSER appUser, ORGANIZATION organization, TEAMEVENT teamEvent)
        {
            var bccList = new List <string>()
            {
                "*****@*****.**",
                "*****@*****.**"
            };
            //appUser.EMAILADDRESS = "*****@*****.**";

            var    subject = "MyFileIT - Message from " + organization.NAME;
            string error   = "";

            return(EmailHelper.SendEmailAsync(appUser.EMAILADDRESS, new List <string>(), bccList, subject, CreateShareReminderEmail(organization, teamEvent), true, new List <string>(), ref error));
        }