public IActionResult CheckDuplicateMemberType(string MemberType)
        {
            try
            {
                int count = objmemtype.GetMemberTypeCount(MemberType, Con);
                return(Ok(count));
            }
            catch (Exception)
            {
                return(StatusCode(StatusCodes.Status500InternalServerError));

                throw;
            }
        }