コード例 #1
0
        public async Task <IActionResult> CreateChild([FromBody] ChildInfoDto dto)
        {
            var result = await _accountService.CreateAsync(dto);

            return(Ok(result));
        }
コード例 #2
0
 public static User ToEntity(this ChildInfoDto dto)
 {
     return(Mapper.Map <User>(dto));
 }
コード例 #3
0
 public async Task <HttpResponseMessage> CreateChildAsync(ChildInfoDto dto)
 {
     return(await _oppJarProxy.CreateChildAsync(dto));
 }