public IActionResult DeletePlanAddOns(int CoverId, int InsuranceAddOnsId) { try { //InsuranceCompanyOptionalCover InsuranceCompanyOptionalCover = new InsuranceCompanyOptionalCover //{ // InsuranceCompanyId = InsuranceCompanyId, // OptionalCoverId = OptionalCoverId //}; _itemService.DeletePlanAddOns(CoverId, InsuranceAddOnsId); return(Ok()); } catch (AppException ex) { return(DefaultError(ex.Message)); } }