コード例 #1
0
        public async Task <IActionResult> PostBranchAsync([FromBody] Branches branches)
        {
            if (!ModelState.IsValid)
            {
                return(BadRequest(ModelState));
            }

            var _id = await branchesService.CreateBranchesAsync(branches);

            return(Ok());
        }