public IHttpActionResult PutSubjectActionExpense(int id, SubjectActionExpense subjectActionExpense)
        {
            if (!ModelState.IsValid)
            {
                return BadRequest(ModelState);
            }

            if (id != subjectActionExpense.Id)
            {
                return BadRequest();
            }

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

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

            return StatusCode(HttpStatusCode.NoContent);
        }
        public IHttpActionResult PostSubjectActionExpense(SubjectActionExpense subjectActionExpense)
        {
            if (!ModelState.IsValid)
            {
                return BadRequest(ModelState);
            }

            db.SubjectActionExpenses.Add(subjectActionExpense);
            db.SaveChanges();

            return CreatedAtRoute("DefaultApi", new { id = subjectActionExpense.Id }, subjectActionExpense);
        }