public async Task <IActionResult> Put([FromForm] PlanDetail model) { var result = await _plans.EditAsync(model); return(Ok(new ApiResponse <PlanDetail>(result, "Plan edited successfully"))); }