public IActionResult SaveMember(MemberModel member)
 {
     try
     {
         if (_employee.SaveOrUpdateMember(member))
         {
             return(Ok(new { status = true, result = "Member Saved Successfully." }));
         }
         else
         {
             return(Ok(new { status = false, result = "Failed to save the Member." }));
         }
     }
     catch (InvalidException err)
     {
         return(Ok(new { status = false, result = err.Message }));
     }
     catch (Exception err)
     {
         return(BadRequest(err.Message));
     }
 }