public async Task <IActionResult> EliminarSuministros(int suministroId)
        {
            if (User.Identity.IsAuthenticated)
            {
                string permiso  = Permisos("PermisoSubModulo").PSMAPB ? "PermisoSubModulo" : "PermisoModulo";
                bool   eliminar = Permisos(permiso).PMMAPL.Where(w => w.Value.Contains("Eliminar")).Any();
                if (eliminar)
                {
                    ApiCallResult insumos = await service.EliminarSuministros(suministroId);

                    return(Json(insumos));
                }
                else
                {
                    return(NotFound());
                }
            }
            else
            {
                return(RedirectToAction("Index", "Login"));
            }
        }