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

            return(Ok(result));
        }