Exemplo n.º 1
0
        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));
            }
        }