Beispiel #1
0
        public async Task <IActionResult> Create([FromBody] Account account)
        {
            account.Id = 0;
            await IRepo.AddAccount(account);

            await IRepo.Save();

            return(NoContent());
        }