public async Task <ImageInfoEntity> AddImageInfo(ImageInfoInputModel imageInfo, string freeUrl, HttpContext context)
        {
            _authService.ValidateAuthorizationPrivilege(context, whoHasAuth);
            string succsess = await _emailService.SendEmailWithTemplate(imageInfo, freeUrl);

            return(_imageRepository.AddImageInfo(imageInfo, freeUrl, succsess));
        }