public long CreateNomineeDetail([FromBody] NomineeDetail detail)
        {
            long result = 0;

            try
            {
                detail.NomineeMiddleName = detail.NomineeMiddleName == null ? "" : detail.NomineeMiddleName;
                result = repository.AddNomineeDetail(detail);
            }
            catch (Exception dbEx)
            {
                return(result);
            }
            return(result);
        }