예제 #1
0
        // GET: HealthInsuranceMarketPlace/Delete/5
        public ActionResult Delete(int?id)
        {
            if (id == null)
            {
                return(new HttpStatusCodeResult(HttpStatusCode.BadRequest));
            }
            Recipient recipient = _recipientRepository.GetRecipientById(id.Value);

            ;           if (recipient == null)
            {
                return(HttpNotFound());
            }
            return(View(recipient));
        }