public async Task <IActionResult> Delete(int id) { var status = await _npRepo.DeleteAsync(SD.MarcaAPIPath, id, HttpContext.Session.GetString("JWToken")); if (status) { return(Json(new { success = true, message = "Deleted Successfull" })); } return(Json(new { success = false, message = "Delete not Successfull" })); }