Exemplo n.º 1
0
        public async Task <IActionResult> CreateChild([FromBody] ChildInfoDto dto)
        {
            var result = await _accountService.CreateAsync(dto);

            return(Ok(result));
        }
Exemplo n.º 2
0
 public static User ToEntity(this ChildInfoDto dto)
 {
     return(Mapper.Map <User>(dto));
 }
Exemplo n.º 3
0
 public async Task <HttpResponseMessage> CreateChildAsync(ChildInfoDto dto)
 {
     return(await _oppJarProxy.CreateChildAsync(dto));
 }