im trying to create a get user by i method well not a user but an entity called branch and that entity has a foreign key called appuser now i want that when i call the get method it returns the entity branch as well as the data linked to it through the app user foreign key and for that i set up a dto and a maping profile which are
public class Branch
{
public int Id { get; set; }
public string BranchName { get; set; }
public string City { get; set; }
public string Address { get; set; }
public int BranchCode { get; set; }
public Guid AppUserId { get; set; }
public AppUser AppUser { get; set; }
public ICollection<AppUser> AppUsers { get; set; }
public ICollection<StudyClass> studyClasses { get; set; }
public ICollection<Student> Students { get; set; }
}
that is tha branch entity and the dto is
public class BranchDto
{
public int Id { get; set; }
public string BranchName { get; set; }
public string City { get; set;}
public string Address { get; set; }
public int BranchCode { get; set; }
public Guid BranchAdminId { get; set; }
/* public Array BranchAdmin { get; set; }*/
public string UserName { get; set; }
public string FatherName { get; set; }
public string Email { get; set; }
public int PhoneNumber { get; set; }
}
and now the mapping
CreateMap<Branch, BranchDto>()
.ForMember(dest => dest.BranchAdminId, opt => opt.MapFrom(src => src.AppUserId))
/*.ForMember(dest => dest.BranchAdmin, opt => opt.MapFrom(src => src.AppUser))*/
.ForMember(dest => dest.UserName, opt => opt.MapFrom(src => src.AppUser.UserName))
.ForMember(dest => dest.FatherName, opt => opt.MapFrom(src => src.AppUser.FatherName))
.ForMember(dest => dest.Email, opt => opt.MapFrom(src => src.AppUser.Email))
.ForMember(dest => dest.PhoneNumber, opt => opt.MapFrom(src => src.AppUser.PhoneNumber))
.ReverseMap();
but i get an error of unsuppoerted or missing maping configuration 
any idea why