public IActionResult Get(int id) { RatePlanFunctions x = new RatePlanFunctions(_context); return(Ok(x.GetPlanbyId(id))); }
public IActionResult Get() { RatePlanFunctions x = new RatePlanFunctions(_context); return(Ok(x.Get())); }