public async Task <IActionResult> CreateChild([FromBody] ChildInfoDto dto) { var result = await _accountService.CreateAsync(dto); return(Ok(result)); }
public static User ToEntity(this ChildInfoDto dto) { return(Mapper.Map <User>(dto)); }
public async Task <HttpResponseMessage> CreateChildAsync(ChildInfoDto dto) { return(await _oppJarProxy.CreateChildAsync(dto)); }