public bool EditBook(EditBookViewModel model)
        {
            var tags      = _tagRepository.GetAllTags();
            var saveModel = new EditBookDbViewModel();

            saveModel.Title             = model.Title;
            saveModel.Context           = model.Context;
            saveModel.Tags              = JsonSerializeHelper.Serialize(model.Tags);
            saveModel.IncludeInHomePage = model.IncludeInHomePage;
            var result = _bookRepository.EditBook(saveModel);

            return(result);
        }