@RequestMapping(consumes = "application/json", method = RequestMethod.POST)
 @Override
 public HttpEntity<ResponseBean> save(@RequestBody ContactType entity)
     throws SpartanPersistenceException, SpartanTransactionException, Exception {
   ResponseBean responseBean = new ResponseBean();
   org.springframework.http.HttpStatus httpStatus = org.springframework.http.HttpStatus.CREATED;
   try {
     contactTyperepo.save(entity);
     responseBean.add("success", true);
     responseBean.add("message", "Successfully Created");
     responseBean.add("data", entity);
     httpStatus = org.springframework.http.HttpStatus.CREATED;
   } catch (org.springframework.transaction.TransactionException e) {
     throw new com.athena.framework.server.exception.repository.SpartanTransactionException(
         "can not save", e.getRootCause());
   }
   return new org.springframework.http.ResponseEntity<ResponseBean>(responseBean, httpStatus);
 }