public ActionResult AddNewContract(CustomerDto customerDto)
 {
     if (customerDto != null)
     {
         try
         {
             _contractsService.InsertContract(customerDto);
         }
         catch (Exception e)
         {
             return(Ok(GetResponse(ResponseType.FAIL, ResponseStatusCode.FAIL, GetError(ErrorCodes.dataNotFound, "Failed", e.Message))));
         }
         return(Ok(GetResponse(ResponseType.ACK, ResponseStatusCode.SUCCESS)));
     }
     else
     {
         return(BadRequest(GetResponse(ResponseType.ERROR, ResponseStatusCode.ERROR, GetError(ErrorCodes.invalidData, "Invalid input", "Please enter proper customer details"))));
     }
 }