public ActionResult Create(Registry collection)
        {
            var registryModel = _mapper.Map <Registry>(collection);

            _registryRepo.CreateRecord(registryModel);
            _registryRepo.SaveChanges();

            //var registryReadDto = _mapper.Map<DailyRegistryReadDto>(registryModel);
            //return CreatedAtRoute(nameof(GetCommandById), new { Id = commandReadDto.Id }, commandReadDto);
            ViewBag.message = "The user " + registryModel.StudentName + " is saved successfully";
            return(View());
        }