public async Task <IActionResult> GetMemberByID(long ID) { try { var memberByID = await _authServices.GetMemberByID(ID); if (memberByID != null) { return(Ok(memberByID)); } return(NotFound($"Member with ID: {ID} not found")); } catch (Exception) { return(BadRequest("Error! Request cannot be completed, Please contact administrator")); } }