public async Task <IActionResult> Delete(string id) { await _plans.DeleteAsync(id); return(Ok(new ApiResponse("Plan deleted successfully"))); }