// GET api/<controller>
        public HttpResponseMessage Get()
        {
            HttpResponseMessage response;

            try
            {
                GrupoService         service         = (GrupoService) new GrupoService().setDatabase(db);
                List <GrupoProducto> gruposproductos = service.getAll();



                response = this.getSuccessResponse(gruposproductos);
            }
            catch (Exception e)
            {
                response = this.getErrorResponse(e);
            }
            return(response);
        }