public async Task <ActionResult <SavingsManagerInformation> > PostSavingsManagerInformation(SavingsManagerInformation newSaving)
 {
     newSaving.user_id = _jWTService.GetID(Request.Cookies["token"]);
     if (newSaving.user_id == null)
     {
         return(BadRequest());
     }
     else
     {
         return(Ok(await _savingService.AddSaving(newSaving)));
     }
 }
 public async Task <ActionResult <SavingsManagerInformation> > PostSavingsManagerInformation(SavingsManagerInformation newSaving)
 {
     newSaving.user_id = _jWTService.GetID();
     return(Ok(await _savingService.AddSaving(newSaving)));
 }