public IHttpActionResult PutAssetCheckJob(string taskcode, AssetCheckJob assetcheckjob)
        {
            if (!ModelState.IsValid)
            {
                return BadRequest(ModelState);
            }

            if (taskcode != assetcheckjob.TaskCode)
            {
                return BadRequest();
            }

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

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

            return Ok();           
        }
        public IHttpActionResult PostAssetCheckJob(AssetCheckJob assetcheckjob)
        {
            if (!ModelState.IsValid)
            {
                return BadRequest(ModelState);
            }
            
            db.AssetCheckJobs.Add(assetcheckjob);
            db.SaveChanges();

            return Ok();
        }