public RedirectToActionResult Create(Product record)
        {
            record.Source  = "MongoDB";
            record.counter = -1;
            Product newProduct = _repositoryManagement.Create <Product>(record);

            return(RedirectToAction("details", new { id = newProduct.PrimaryId }));
        }
        public T Create <T>(T record)
        {
            var st = _RepositoryManagement.Create <T>(record);

            return(st);
        }