public IHttpActionResult PutUserAccount(UserAccount useraccount)
        {
            if (!ModelState.IsValid)
            {
                return BadRequest(ModelState);
            }
            useraccount.LastUpdatedDate = DateTime.Now;
            db.Entry(useraccount).State = EntityState.Modified;

            try
            {
                db.SaveChanges();
            }
            catch (DbUpdateConcurrencyException)
            {
                if (!UserAccountExists(useraccount.RowID))
                {
                    return NotFound();
                }
                else
                {
                    throw;
                }
            }

            return StatusCode(HttpStatusCode.NoContent);
        }
        public IHttpActionResult PostUserAccount(UserAccount useraccount)
        {
            if (!ModelState.IsValid)
            {
                return BadRequest(ModelState);
            }
            useraccount.LastUpdatedDate = DateTime.Now;
            db.UserAccount.Add(useraccount);
            db.SaveChanges();

            return Ok(useraccount);
        }