restful api with asp net core web api create and consume download