public bool StageWorkItem([FromBody] IncomingWorkItem currentItem) { var result = default(bool); var currentUser = this.User; var id = int.Parse(currentUser.Claims.ElementAt(1).Value); using (var context = new DatabaseController(Context, Configuration)) { result = context.AddNewWorkItem(currentItem, id); } return(result); }