public IActionResult UpdateMemberType([FromBody]  MemberTypeDTO MemberTypeDTO)
        {
            try
            {
                if (objmemtype.UpdateMemberType(MemberTypeDTO, Con))
                {
                    return(Ok(true));
                }
                else
                {
                    return(StatusCode(StatusCodes.Status304NotModified));
                }
            }
            catch (Exception)
            {
                return(StatusCode(StatusCodes.Status500InternalServerError));

                throw;
            }
        }