public IHttpActionResult ReleasePackages(List <TaskWork> tasks) { TaskWork.Release(tasks.ToArray()); return(Ok(tasks)); }