public virtual IActionResult Create(GroupsModel model)
        {
            if (!_permissionService.Authorize(StandardPermissionProvider.ManageProducts))
            {
                return(AccessDeniedView());
            }


            var group = model.ToEntity();

            group.CreatedOnUtc = DateTime.UtcNow;
            group.UpdatedOnUtc = DateTime.UtcNow;


            _gpRepository.Insert(group);


            return(Json(group));
        }