public int SendMail(FeedbackMailRequest request)
        {
            var attendedParticipants = (from vd in _fileRepository.HackFSE_FMSContext.EventVolunteerDetails.Where(x => !x.IsMailSend && x.ParticipationStatusId == (int)InputFileType.OutReachEventInformation)
                                        join e in _fileRepository.HackFSE_FMSContext.OutreachEvent on vd.EventId equals e.EventId
                                        select new {
                EventId = e.EventId,
                BaseLocation = e.BaseLocation,
                BeneficiaryName = e.BeneficiaryName,
                EventName = e.EventName,
                EventDate = e.EventDate,
                CouncilName = e.CouncilName,
                EventDescription = e.EventDescription,
                EmployeeId = vd.EmployeeId,
                EmployeeName = vd.EmployeeName,
                BusinessUnit = vd.BusinessUnit,
                EmployeeContactNumber = vd.EmployeeContactNumber,
                MailSendCount = vd.MailSendCount,
                Status = vd.Status,
                VolunteerHours = vd.VolunteerHours,
                TravelHours = vd.TravelHours
            }).ToList();



            return(1);
        }
コード例 #2
0
 public int SendFeedBackMail(FeedbackMailRequest request)
 {
     return(1);
 }