public IHttpActionResult PutFileStatus(int id, FileStatus fileStatus)
        {
            if (!ModelState.IsValid)
            {
                return BadRequest(ModelState);
            }

            if (id != fileStatus.FileStatusId)
            {
                return BadRequest();
            }

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

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

            return StatusCode(HttpStatusCode.NoContent);
        }
        public IHttpActionResult PostFileStatus(FileStatus fileStatus)
        {
            if (!ModelState.IsValid)
            {
                return BadRequest(ModelState);
            }

            db.FileStatus.Add(fileStatus);
            db.SaveChanges();

            return CreatedAtRoute("DefaultApi", new { id = fileStatus.FileStatusId }, fileStatus);
        }