// POST: api/File public void Post(string personId, [FromBody] Models.Entities.File file) { FileTools.AddFileInfoToPerson(repository, personId, file); }