public async Task <IActionResult> CreateOrUpdate([FromForm] WebsiteViewModel input)
        {
            var model = new WebsiteModel()
            {
                Name     = input.Name,
                Url      = input.Url,
                Category = input.Category,
                Login    = new LoginModel()
                {
                    Email    = input.Login.Email,
                    Password = HashPassword.GetHashedPassword(input.Login.Password),
                },
                IsDeleted        = false,
                HomepageSnapshot = ImageToByteArray(input.Image)
            };

            var record = await this.websiteRepository.CreateOrUpdate(model);

            return(Ok(record));
        }