public HttpResponseMessage Delete(Guid id)
 {
     try
     {
         _contactApplicationService.DeleteContact(id);
         return(Request.CreateResponse(HttpStatusCode.OK));
     }
     catch (ValidationException ex)
     {
         return(Request.CreateErrorResponse(HttpStatusCode.BadRequest, ex.Message));
     }
 }
 public ActionResult DeleteConfirmed(Guid id)
 {
     _contactApplicationService.DeleteContact(id);
     return(RedirectToAction("Index"));
 }