protected ActionResult Update0(BookElasticEntityModel model)
        {
            //entity.UpdatedAt = DateTime.Now;
            var responseEdit = BookElasticBusinessLogic.Edit(model.ToEntity());

            return(Json(responseEdit));
        }
        protected ActionResult UpdateOnly0(BookElasticEntityModel model)
        {
            //var responseEdit = BookElasticBusinessLogic.EditOnly(model.ToEntity(), x => x.Name, x => x.Price, x => x.Category, x => x.Author);
            var responseEdit = BookElasticBusinessLogic.Edit(model.ToEntity());

            return(Json(responseEdit));
        }
        protected ActionResult Create0(BookElasticEntityModel model)
        {
            //entity.CreatedAt = DateTime.Now;
            var responseInsert = BookElasticBusinessLogic.Add(model.ToEntity());

            return(Json(responseInsert));
        }