Localstorage data save database webapi through

how to local storage object data save web api through database