public static void UpdateSiteEmailNotificationSettings(int?siteId, bool?sendEmailOnTaskCreation, bool?sendEmailBeforeTaskDue, int?daysBeforeTaskDue, bool?sendEmailsAfterTaskDue, int?daysAfterTaskDue, bool?sendRemainderEmailAfterTaskDue, bool?sendTaskReportToCC, int?taskReportToCCScheduleTypeId, bool?sendTaskReportToUsers, int?taskReportToUsersScheduleTypeId, string taskReportRecipients, bool?sendEmailOnAssigningEp, int?taskDueRecipientType, int?updatedByUserId) { using (var db = new Data.DBMEdition01Context()) { db.ApiUpdateSiteEmailNotificationSettings(siteId, sendEmailOnTaskCreation, sendEmailBeforeTaskDue, daysBeforeTaskDue, sendEmailsAfterTaskDue, daysAfterTaskDue, sendRemainderEmailAfterTaskDue, sendTaskReportToCC, taskReportToCCScheduleTypeId, sendTaskReportToUsers, taskReportToUsersScheduleTypeId, taskReportRecipients, sendEmailOnAssigningEp, taskDueRecipientType, updatedByUserId); } }