public HttpResponseMessage DeleteContactList([FromBody] CC_Contact Contact) { try { var db = new RedisOperation(_RedisDB); var key = RedisKeys.CCContactKey(Contact.CustomerId); db.Delete(key); return(Request.CreateResponse(HttpStatusCode.OK, new ResponseModel { Code = ResponseCode.Success, Message = "success" })); } catch (Exception ex) { return(Request.CreateResponse(HttpStatusCode.OK, new ResponseModel { Code = ResponseCode.Fail, Message = "fail:" + ex.Message })); } }