public virtual Result <bool> Agregar(T entidad)
        {
            try
            {
                var resultado = Entidad <T> .Agregar(entidad);

                return(new Result <bool>(resultado, true));
            }
            catch (Exception ex)
            { return(new Result <bool>(ex)); }
        }