public async Task <IActionResult> Upsert(int?id)
        {
            Marca obj = new Marca();

            if (id == null)
            {
                //Insert Or create
                return(View(obj));
            }
            obj = await _npRepo.GetAsync(SD.MarcaAPIPath, id.GetValueOrDefault(), HttpContext.Session.GetString("JWToken"));

            if (obj == null)
            {
                //Edit or Update
                return(NotFound());
            }
            return(View(obj));
        }