public ActionResult <AccountDTO> AddNewAccount([FromBody] Account account) { _accountsRepository.AddNewAccount(account); return(Created("https://localhost:44300/api/authenticate", _mapper.Map <AccountDTO>(account))); }