// POST: api/UpdateFaxNumber
        public void Post([FromBody]UpdateFaxNumber newFaxNumber)
        {
            FaxStatusData faxStatusData = new FaxStatusData();
            faxStatusData.AddChangedFaxNumber(newFaxNumber);

            string s1 = newFaxNumber.NewFaxNumber;
            //Mark Filiault <*****@*****.**>
            SendEmail.EmailFrom = "*****@*****.**";
            SendEmail.EmailFromFriendlyName = "*****@*****.**";
            SendEmail.EmailFromFriendlyName = "*****@*****.**";
            SendEmail.EmailTo = "*****@*****.**";
            SendEmail.EmailToFriendlyName = "*****@*****.**";
            //SendEmail.EmailTo = "*****@*****.**";
            //SendEmail.EmailToFriendlyName = "*****@*****.**";
            SendEmail.EmailSubject = "Fax Number Update for Care Provider";
            string body = "Fax Number updated: " + DateTime.Now.ToShortDateString() + " " + DateTime.Now.ToShortTimeString() + Environment.NewLine
                + newFaxNumber.ProviderId + Environment.NewLine
                + newFaxNumber.Provider + Environment.NewLine
                + " Fax Number:  " + newFaxNumber.NewFaxNumber;

            SendEmail.EmailBody = body;
            SendEmail.SmtpHost = "192.168.105.81";
            //SendEmail.SmtpHostUserName = "******";
            //SendEmail.SmtpHostPassword = "******";
            //SendEmail.IsSSL = true;
            SendEmail.SmtpPort = 25;
            //SendEmail.IsHTML = true;
            SendEmail.SendAnEmail();
        }
 // GET: api/FaxStatus
 public IEnumerable<FaxStatus> Get()
 {
     FaxStatusData faxStatusData = new FaxStatusData();
     return faxStatusData.GetFaxedNotesStatus();
 }