public IActionResult AddUpdate(RelationshipViewModel model)
        {
            JsonResponse response = new JsonResponse();

            // If the model valid go to the next level
            if (ModelState.IsValid)
            {
                response = _relationshipService.AddUpdate(model.Relationship);
                return(Json(response));
            }// Else it  shows the error message.
            else
            {
                JsonResponse resp = new JsonResponse
                {
                    Message = Constants.ControllerMessage.All_Fields_Mandatory
                };
                return(Json(resp));
            }
        }