/// <summary>
        /// frontend pass a dto to backend
        /// </summary>
        /// <returns></returns>
        private StudentDto GetStudentDto()
        {
            var        birthday   = new DateTime(1989, 12, 30);
            var        teacher    = GetTeacher();
            StudentDto studentDto = new StudentDto
            {
                IdentityId = "320481198912305142",
                Name       = "Chuck",
                Birthday   = birthday.ToString("yyyy-MM-dd"),
                Teacher    = teacher
            };

            return(studentDto);
        }
        public void UpdateExistingInstance()
        {
            //student dto update student
            Student student = new Student();

            student.Guid = Guid.NewGuid();
            Console.WriteLine(student.Guid);

            StudentDto studentDto = new StudentDto();

            studentDto.IdentityId = "20200924-001";

            _mapper.Map(studentDto, student);
            Assert.AreEqual(studentDto.IdentityId, student.IdentityId);
        }