예제 #1
0
 /// <summary>
 /// InsertAsync
 /// </summary>
 /// <param name="pastry"></param>
 /// <returns></returns>
 public async Task <Avengers> InsertAsync(Avengers people)
 {
     return(await avengerDomain.InsertAsync(people));
 }
예제 #2
0
        public async Task <IActionResult> Post([FromBody] Avenger avenger)
        {
            var result = await avengerDomain.InsertAsync(avenger);

            return(Ok(result));
        }