public async Task <ActionResult <UserPkgDTO> > GetUser(string id) { UserPkgDTO userPkg = new UserPkgDTO() { Account = mapper.Map <UserAccountDTO>(await UB.GetUserAccount(id)), Details = mapper.Map <UserDetailsDTO>(await UB.GetUserDetails(id)), Address = mapper.Map <AddressDTO>(await UB.GetDefaultAddress(id)), Role = await GetUserRole(id) }; return(userPkg); }