コード例 #1
0
        public IActionResult DeleteSecondSubAccount(long id)
        {
            SecondSubAccount fin = SecondSubAccount_repo.Find(id);

            if (fin == null)
            {
                return(NotFound());
            }

            SecondSubAccount_repo.Delete(fin);
            return(Ok());
        }
コード例 #2
0
 public IActionResult AddSecondSubAccount([FromBody] SecondSubAccount model)
 {
     SecondSubAccount_repo.Add(model);
     return(new OkObjectResult(new { SecondSubAccountID = model.SecondSubAccountId }));
 }