public IHttpActionResult PostEvent_Symposium_Email_Template(Event_Symposium_Email_Template event_symposium_email_template)
        {
            if (!ModelState.IsValid)
            {
                return BadRequest(ModelState);
            }

            db.Event_Symposium_Email_Template.Add(event_symposium_email_template);

            try
            {
                db.SaveChanges();
            }
            catch (DbUpdateException)
            {
                if (Event_Symposium_Email_TemplateExists(event_symposium_email_template.Name))
                {
                    return Conflict();
                }
                else
                {
                    throw;
                }
            }

            return CreatedAtRoute("DefaultApi", new { id = event_symposium_email_template.Name }, event_symposium_email_template);
        }
        // PUT api/EmailTemplate/5
        public IHttpActionResult PutEvent_Symposium_Email_Template(string id, Event_Symposium_Email_Template event_symposium_email_template)
        {
            if (!ModelState.IsValid)
            {
                return BadRequest(ModelState);
            }

            if (id != event_symposium_email_template.Name)
            {
                return BadRequest();
            }

            db.Entry(event_symposium_email_template).State = EntityState.Modified;

            try
            {
                db.SaveChanges();
            }
            catch (DbUpdateConcurrencyException)
            {
                if (!Event_Symposium_Email_TemplateExists(id))
                {
                    return NotFound();
                }
                else
                {
                    throw;
                }
            }

            return StatusCode(HttpStatusCode.NoContent);
        }